> Unless I miss something trivial (I hope so), I'd have to give up > using the test.regrtest module. I appreciate any comment. Maybe the thing to do is to change: > if test.startswith('test.'): > abstest = test > else: > # Always import it from the test package > abstest = 'test.' + test > the_package = __import__(abstest, globals(), locals(), []) to this: > if test.startswith('mytest.'): > abstest = test > else: > # Always import it from the test package > abstest = 'mytest.' + test > the_package = __import__(abstest, globals(), locals(), []) in your own copy of regrtest. Converting to unittest would be better, but this is a fix that would at least prevent immediate breakage. -- Michael Chermside
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4