diff options
Diffstat (limited to 'QMTest')
-rw-r--r-- | QMTest/TestCmd.py | 2 | ||||
-rw-r--r-- | QMTest/TestSCons.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/QMTest/TestCmd.py b/QMTest/TestCmd.py index ab1c212..e715acc 100644 --- a/QMTest/TestCmd.py +++ b/QMTest/TestCmd.py @@ -574,7 +574,7 @@ except ImportError: # so we're going to cobble up something that looks just enough # like its API for our purposes below. from types import ModuleType - class subprocess(ModuleType): pass + subprocess = ModuleType('subprocess') subprocess.PIPE = 'PIPE' subprocess.STDOUT = 'STDOUT' diff --git a/QMTest/TestSCons.py b/QMTest/TestSCons.py index 0317149..fa3163b 100644 --- a/QMTest/TestSCons.py +++ b/QMTest/TestSCons.py @@ -807,7 +807,7 @@ SConscript( sconscript ) logfile, sconf_dir, sconstruct, doCheckLog=1, doCheckStdout=1): - class NoMatch: + class NoMatch(Exception): def __init__(self, p): self.pos = p |