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

Method test_testdir

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

Source from the content-addressed store, hash-verified

338 self.checkError([opt], 'expected one argument')
339
340 def test_testdir(self):
341 ns = self.parse_args(['--testdir', 'foo'])
342 self.assertEqual(ns.testdir, os.path.join(os_helper.SAVEDCWD, 'foo'))
343 self.checkError(['--testdir'], 'expected one argument')
344
345 def test_runleaks(self):
346 for opt in '-L', '--runleaks':

Callers

nothing calls this directly

Calls 4

parse_argsMethod · 0.95
checkErrorMethod · 0.95
assertEqualMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected