MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_sys_getframemodulename

Method test_sys_getframemodulename

Lib/test/test_audit.py:190–200  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

188 self.assertEqual(actual, expected)
189
190 def test_sys_getframemodulename(self):
191 returncode, events, stderr = self.run_python("test_sys_getframemodulename")
192 if returncode:
193 self.fail(stderr)
194
195 if support.verbose:
196 print(*events, sep='\n')
197 actual = [(ev[0], ev[2]) for ev in events]
198 expected = [("sys._getframemodulename", "0")]
199
200 self.assertEqual(actual, expected)
201
202
203 def test_threading(self):

Callers

nothing calls this directly

Calls 4

run_pythonMethod · 0.95
printFunction · 0.50
failMethod · 0.45
assertEqualMethod · 0.45

Tested by

no test coverage detected