]> git.parisson.com Git - timeside.git/commit
Doctest: Fix path issue for local test data
authorThomas Fillon <thomas@parisson.com>
Mon, 24 Mar 2014 13:50:36 +0000 (14:50 +0100)
committerThomas Fillon <thomas@parisson.com>
Mon, 24 Mar 2014 13:50:36 +0000 (14:50 +0100)
commit8238ae4ab16106e053fa668cb42798978d8f19df
tree1e3a09b199dd4103970bcb0c50f899e7b34100ae
parent7f3568288fb9b348a086b3e1a388ea293babf060
Doctest: Fix path issue for local test data

Use doctest.tesmod() `extraglobs` parameter to pass absolute data path to the doctest module. This works from both module directory or tests directory
timeside/analyzer/core.py
timeside/decoder/utils.py
timeside/encoder/audiosink.py