Test that the _repr_pretty_ method is tested for callability and skipped if not.
()
| 95 | |
| 96 | |
| 97 | def test_callability_checking(): |
| 98 | """ |
| 99 | Test that the _repr_pretty_ method is tested for callability and skipped if |
| 100 | not. |
| 101 | """ |
| 102 | gotoutput = pretty.pretty(Dummy2()) |
| 103 | expectedoutput = "Dummy1(...)" |
| 104 | |
| 105 | nt.assert_equal(gotoutput, expectedoutput) |
| 106 | |
| 107 | |
| 108 | def test_sets(): |