From 9af863858988da9cc67db5e12fa9bda9198b707e Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Sun, 5 May 2019 20:30:11 +0200 Subject: [PATCH] Small test fix --- test/test_api/test_classes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_api/test_classes.py b/test/test_api/test_classes.py index cd6c0c9b..3a2fb60e 100644 --- a/test/test_api/test_classes.py +++ b/test/test_api/test_classes.py @@ -114,7 +114,7 @@ def test_class_call_signature(Script): pass Foo""").goto_definitions() doc = defs[0].docstring() - assert "Foo(self, x, y=1, z='a')" in str(doc) + assert doc == "Foo(x, y=1, z='a')" def test_position_none_if_builtin(Script):