Przeglądaj źródła

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

Taddeus Kroes 13 lat temu
rodzic
commit
b3263a3657
1 zmienionych plików z 1 dodań i 1 usunięć
  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]