]> git.parisson.com Git - timeside.git/commitdiff
tests/api/: only import os.path, use os.path.join
authorPaul Brossier <piem@piem.org>
Wed, 17 Feb 2010 15:16:11 +0000 (15:16 +0000)
committerPaul Brossier <piem@piem.org>
Wed, 17 Feb 2010 15:16:11 +0000 (15:16 +0000)
tests/api/test_lolevel.py
tests/api/test_pipe.py
tests/api/test_pipe2.py

index 5e01e400b8ed9d3699d9a0c74b4b7d0c1f38f1a7..c50851189a5564d4dccd232fa64d3618f779d5c7 100644 (file)
@@ -1,6 +1,6 @@
 from timeside.tests.api import examples
-import os
 
+import os.path
 source= os.path.join (os.path.dirname(__file__),  "../samples/guitar.wav")
 
 Decoder = examples.FileDecoder
index 87ce4a7f039e2caac79449416aedc77acce41e29..9bf6d1b6e714a5f5cb5f486c6fd1b9d74bcb6050 100644 (file)
@@ -4,8 +4,8 @@ from timeside.core import *
 from timeside.api import *
 from sys import stdout
 
-import os
-source=os.path.dirname(__file__) + "../samples/guitar.wav"
+import os.path
+source = os.path.join(os.path.dirname(__file__),  "../samples/guitar.wav")
 
 print "Normalizing %s" % source
 decoder  = examples.FileDecoder(source)
index d34a1b075c957ee6379a072572e4edada9d2dfb3..d2116fcaf4c62bd05bd04077724054f9c8978a23 100644 (file)
@@ -3,8 +3,8 @@ from timeside.core import *
 from timeside.api import *
 from sys import stdout
 
-import os
-source=os.path.dirname(__file__) + "../samples/guitar.wav"
+import os.path
+source = os.path.join (os.path.dirname(__file__), "../samples/guitar.wav")
 
 print "Normalizing %s" % source
 decoder  = examples.FileDecoder(source)