]> git.parisson.com Git - timeside.git/commitdiff
timeside/analyzer/core.py: simplify docstring, test passes from source dir
authorPaul Brossier <piem@piem.org>
Sun, 1 Dec 2013 20:18:04 +0000 (15:18 -0500)
committerPaul Brossier <piem@piem.org>
Sun, 1 Dec 2013 20:18:04 +0000 (15:18 -0500)
timeside/analyzer/core.py

index c18966746cf32d9c923b469dc0a2c09f12da924a..bb88eba76fcb802709d3b28564093d778af56ff3 100644 (file)
@@ -804,9 +804,7 @@ class AnalyzerResultContainer(dict):
 
     '''
     >>> import timeside
-    >>> import os
-    >>> ModulePath =  os.path.dirname(os.path.realpath(timeside.analyzer.core.__file__))
-    >>> wavFile = os.path.join(ModulePath , '../../tests/samples/sweep.wav')
+    >>> wavFile = 'tests/samples/sweep.wav'
     >>> d = timeside.decoder.FileDecoder(wavFile, start=1)
 
     >>> a = timeside.analyzer.Analyzer()