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 |
|
|
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_ |
|
|
52 | nt.assert_false(isinstance(obj, A.Object)) |
General Comments 0
You need to be logged in to leave comments.
Login now