Test that the _repr_pretty_ method is tested for callability and skipped if not.
()
| 103 | |
| 104 | |
| 105 | def test_callability_checking(): |
| 106 | """ |
| 107 | Test that the _repr_pretty_ method is tested for callability and skipped if |
| 108 | not. |
| 109 | """ |
| 110 | gotoutput = pretty.pretty(Dummy2()) |
| 111 | expectedoutput = "Dummy1(...)" |
| 112 | |
| 113 | assert gotoutput == expectedoutput |
| 114 | |
| 115 | |
| 116 | @pytest.mark.parametrize( |