(self)
| 342 | ) |
| 343 | |
| 344 | def test_current_line(self): |
| 345 | self.repl.interp.locals["a"] = socket.socket |
| 346 | self.set_input_line("a") |
| 347 | self.assertIn("dup(self)", self.repl.get_source_of_current_name()) |
| 348 | |
| 349 | |
| 350 | # TODO add tests for various failures without using current function |
nothing calls this directly
no test coverage detected