| 610 | def test_shadowed_stdlib_array(self): |
| 611 | # Issue #113570: repr() should not be fooled by an array |
| 612 | class array: |
| 613 | def __repr__(self): |
| 614 | return "not array.array" |
| 615 | |
| 616 | self.assertEqual(r(array()), "not array.array") |
| 617 |
no outgoing calls