| 1732 | ) |
| 1733 | |
| 1734 | class StringCompat: |
| 1735 | def __init__(self, x): |
| 1736 | self.x = x |
| 1737 | def __str__(self): |
| 1738 | return self.x |
| 1739 | |
| 1740 | self.assertEqual( |
| 1741 | str(StringCompat('__str__ compatible objects are recognized')), |
no outgoing calls
searching dependent graphs…