diff options
Diffstat (limited to 'source4/scripting/bin')
-rwxr-xr-x | source4/scripting/bin/subunitrun | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/scripting/bin/subunitrun b/source4/scripting/bin/subunitrun index 4078562ab4..9717c9e345 100755 --- a/source4/scripting/bin/subunitrun +++ b/source4/scripting/bin/subunitrun @@ -30,6 +30,8 @@ try: from subunit.run import SubunitTestRunner, TestProgram except ImportError: del sys.modules["subunit"] + if "subunit.run" in sys.modules: + del sys.modules["subunit.run"] samba.import_bundled_package("subunit", "subunit/python") from subunit.run import SubunitTestRunner, TestProgram import samba.getopt as options |