(self)
| 187 | |
| 188 | @unittest.expectedFailure # TODO: RUSTPYTHON; + ('/Users/al03219714/Projects/RustPython4/crates/pylib/Lib/test/test_trace.py', 87): 1} |
| 189 | def test_trace_list_comprehension(self): |
| 190 | self.tracer.runfunc(traced_caller_list_comprehension) |
| 191 | |
| 192 | firstlineno_calling = get_firstlineno(traced_caller_list_comprehension) |
| 193 | firstlineno_called = get_firstlineno(traced_doubler) |
| 194 | expected = { |
| 195 | (self.my_py_filename, firstlineno_calling + 1): 1, |
| 196 | (self.my_py_filename, firstlineno_calling + 2): 11, |
| 197 | (self.my_py_filename, firstlineno_calling + 3): 1, |
| 198 | (self.my_py_filename, firstlineno_called + 1): 10, |
| 199 | } |
| 200 | self.assertEqual(self.tracer.results().counts, expected) |
| 201 | |
| 202 | @unittest.expectedFailure # TODO: RUSTPYTHON; Diff is 996 characters long. Set self.maxDiff to None to see it. |
| 203 | def test_traced_decorated_function(self): |
nothing calls this directly
no test coverage detected