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

Method test_builtins

Lib/test/test_inspect/test_inspect.py:6525–6529  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

6523 self.assertEqual(err, b'')
6524
6525 def test_builtins(self):
6526 _, out, err = assert_python_failure('-m', 'inspect',
6527 'sys')
6528 lines = err.decode().splitlines()
6529 self.assertEqual(lines, ["Can't get info for builtin modules."])
6530
6531 def test_details(self):
6532 module = importlib.import_module('unittest')

Callers

nothing calls this directly

Calls 4

assert_python_failureFunction · 0.90
splitlinesMethod · 0.45
decodeMethod · 0.45
assertEqualMethod · 0.45

Tested by

no test coverage detected