Parcourir la source

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

Taddeus Kroes il y a 13 ans
Parent
commit
b3263a3657
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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]