tests: use __file__ for package import

This commit is contained in:
tv3141
2017-02-28 11:33:48 +00:00
parent 2136f4b7cf
commit f3bf91acec
+1 -1
View File
@@ -211,7 +211,7 @@ file:
import os
import sys
sys.path.insert(0, os.path.abspath('..'))
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
import sample