diff --git a/tests/test_text.py b/tests/test_text.py index cccd53e..036fcf2 100644 --- a/tests/test_text.py +++ b/tests/test_text.py @@ -48,7 +48,7 @@ def test_children(): def test_strip(): """test Text.__strip__()""" node = Text("foobar") - assert node is node.__strip__() + assert node == node.__strip__() def test_showtree():