##// 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 # Test that A is not reloaded.
44 # Test that A is not reloaded.
45 obj = A.Object()
45 obj = A.Object()
46 dreload(B, exclude=['A'])
46 dreload(B, exclude=['A'])
47 nt.assert_is_instance(obj, A.Object)
47 nt.assert_true(isinstance(obj, A.Object))
48
48
49 # Test that A is reloaded.
49 # Test that A is reloaded.
50 obj = A.Object()
50 obj = A.Object()
51 dreload(B)
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