MCPcopy Index your code
hub / github.com/python/cpython / setUp

Method setUp

Lib/test/test_regrtest.py:894–905  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

892 NTEST = 4
893
894 def setUp(self):
895 super().setUp()
896
897 # Create NTEST tests doing nothing
898 self.tests = [self.create_test() for index in range(self.NTEST)]
899
900 self.python_args = ['-Wd', '-E', '-bb']
901 self.regrtest_args = ['-uall', '-rwW',
902 '--testdir=%s' % self.tmptestdir]
903 self.regrtest_args.extend(('--timeout', '3600', '-j4'))
904 if sys.platform == 'win32':
905 self.regrtest_args.append('-n')
906
907 def check_output(self, output):
908 randseed = self.parse_random_seed(output)

Callers

nothing calls this directly

Calls 5

superClass · 0.85
create_testMethod · 0.80
setUpMethod · 0.45
extendMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected