diff --git a/tests/test_tree.py b/tests/test_tree.py index 673fd17d..065487af 100644 --- a/tests/test_tree.py +++ b/tests/test_tree.py @@ -140,9 +140,13 @@ def test_tree_read_and_write(self): self.assertEqual(expected_nw, t.write(props=None)) def test_repr(self): - # Node instance repr - self.assertTrue(Tree().__repr__().startswith('')) + self.assertTrue(' at 0x' in r1) def test_to_str(self): """Test that the ascii representation (to use when printing) works."""