##// END OF EJS Templates
Update test for displaying subclass instance
Thomas Kluyver -
Show More
@@ -49,7 +49,7 b' def test_pretty():'
49 49 f = PlainTextFormatter()
50 50 f.for_type(A, foo_printer)
51 51 nt.assert_equal(f(A()), 'foo')
52 nt.assert_equal(f(B()), 'foo')
52 nt.assert_equal(f(B()), 'B()')
53 53 nt.assert_equal(f(GoodPretty()), 'foo')
54 54 # Just don't raise an exception for the following:
55 55 f(BadPretty())
General Comments 0
You need to be logged in to leave comments. Login now