| 1850 | self.assertRaises(ZeroDivisionError, getattr(set('january'), methname), E(data)) |
| 1851 | |
| 1852 | class bad_eq: |
| 1853 | def __eq__(self, other): |
| 1854 | if be_bad: |
| 1855 | set2.clear() |
| 1856 | raise ZeroDivisionError |
| 1857 | return self is other |
| 1858 | def __hash__(self): |
| 1859 | return 0 |
| 1860 | |
| 1861 | class bad_dict_clear: |
| 1862 | def __eq__(self, other): |
no outgoing calls
searching dependent graphs…