##// END OF EJS Templates
Fix deepreload tests in Python 2.6....
Bradley M. Froehle -
Show More
@@ -44,9 +44,9 b' def test_deepreload():'
44 44 # Test that A is not reloaded.
45 45 obj = A.Object()
46 46 dreload(B, exclude=['A'])
47 nt.assert_is_instance(obj, A.Object)
47 nt.assert_true(isinstance(obj, A.Object))
48 48
49 49 # Test that A is reloaded.
50 50 obj = A.Object()
51 51 dreload(B)
52 nt.assert_not_is_instance(obj, A.Object)
52 nt.assert_false(isinstance(obj, A.Object))
General Comments 0
You need to be logged in to leave comments. Login now