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