Browse Source

Changed module to relative import from file to allow execution on systems without testrunner in dist-packages

Taddeus Kroes 13 năm trước cách đây
mục cha
commit
b3263a3657
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      __main__.py

+ 1 - 1
__main__.py

@@ -6,7 +6,7 @@
 #
 
 import sys
-from testrunner import main
+from runner import main
 
 if len(sys.argv) < 2:
     print 'Usage: %s tests/test_COMPONENT.py' % sys.argv[0]