()
| 35 | |
| 36 | |
| 37 | def test_ishashable(): |
| 38 | class C: |
| 39 | pass |
| 40 | |
| 41 | assert ishashable("x") |
| 42 | assert ishashable(1) |
| 43 | assert ishashable(C()) |
| 44 | assert ishashable((1, 2)) |
| 45 | assert not ishashable([1, 2]) |
| 46 | assert not ishashable({1: 2}) |
| 47 | |
| 48 | |
| 49 | def test_iskey(): |
nothing calls this directly
no test coverage detected