(self)
| 158 | |
| 159 | @unittest.expectedFailure # TODO: RUSTPYTHON; + ('/Users/al03219714/Projects/RustPython4/crates/pylib/Lib/test/tracedmodules/testmod.py', 3): 1} |
| 160 | def test_traced_func_importing(self): |
| 161 | self.tracer.runfunc(traced_func_importing, 2, 5) |
| 162 | |
| 163 | firstlineno = get_firstlineno(traced_func_importing) |
| 164 | expected = { |
| 165 | (self.my_py_filename, firstlineno + 1): 1, |
| 166 | (fix_ext_py(testmod.__file__), 2): 1, |
| 167 | (fix_ext_py(testmod.__file__), 3): 1, |
| 168 | } |
| 169 | |
| 170 | self.assertEqual(self.tracer.results().counts, expected) |
| 171 | |
| 172 | @unittest.expectedFailure # TODO: RUSTPYTHON; + ('/Users/al03219714/Projects/RustPython4/crates/pylib/Lib/test/test_trace.py', 76): 10} |
| 173 | def test_trace_func_generator(self): |
nothing calls this directly
no test coverage detected