File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -13,9 +13,9 @@ def unittest_discover():
1313 loader = unittest .defaultTestLoader
1414 # randomize the order of tests in test cases
1515 loader .sortTestMethodsUsing = lambda a , b : random .randint (- 1 , 1 )
16- # pybitmessage symlink may disappear on Windows
17- testsuite = loader .discover ('src .tests' )
18- testsuite .addTests ([loader .discover ('src .pyelliptic' )])
16+ # pybitmessage symlink disappears on Windows!
17+ testsuite = loader .discover ('pybitmessage .tests' )
18+ testsuite .addTests ([loader .discover ('pybitmessage .pyelliptic' )])
1919
2020 return testsuite
2121
@@ -24,10 +24,9 @@ def unittest_discover():
2424 success = unittest .TextTestRunner (verbosity = 2 ).run (
2525 unittest_discover ()).wasSuccessful ()
2626 try :
27- from src .tests import common
27+ from pybitmessage .tests import common
2828 except ImportError :
2929 checkup = False
30- print ('ImportError from src.tests' )
3130 else :
3231 checkup = common .checkup ()
3332
You can’t perform that action at this time.
0 commit comments