(self)
| 606 | r.repr(test_object) |
| 607 | |
| 608 | def test_shadowed_stdlib_array(self): |
| 609 | # Issue #113570: repr() should not be fooled by an array |
| 610 | class array: |
| 611 | def __repr__(self): |
| 612 | return "not array.array" |
| 613 | |
| 614 | self.assertEqual(r(array()), "not array.array") |
| 615 | |
| 616 | def test_shadowed_builtin(self): |
| 617 | # Issue #113570: repr() should not be fooled |
nothing calls this directly
no test coverage detected