blob: 5e58226294b1c4d8fb82eeaaac7206b587e08aee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
import os
from test_multiprocessing import support, MPTestBase
class TestMPNameError(MPTestBase):
processes = 2
suitepath = os.path.join(os.path.dirname(__file__), 'support', 'nameerror.py')
def runTest(self):
print str(self.output)
assert 'NameError' in self.output
assert "'undefined_variable' is not defined" in self.output
|