##// END OF EJS Templates
Add test for gh-2684.
Bradley M. Froehle -
Show More
@@ -18,6 +18,7 b' import nose.tools as nt'
18 18
19 19 # Our own imports
20 20 from IPython.lib import pretty
21 from IPython.testing.decorators import skip_without
21 22
22 23 #-----------------------------------------------------------------------------
23 24 # Classes and functions
@@ -82,3 +83,12 b' def test_callability_checking():'
82 83 expectedoutput = "Dummy1(...)"
83 84
84 85 nt.assert_equal(gotoutput, expectedoutput)
86
87 @skip_without('xxlimited')
88 def test_pprint_heap_allocated_type():
89 """
90 Test that pprint works for heap allocated types.
91 """
92 import xxlimited
93 output = pretty.pretty(xxlimited.Null)
94 nt.assert_equal(output, 'xxlimited.Null')
General Comments 0
You need to be logged in to leave comments. Login now