From db683acfc1398985b83919b42c805cb67cc6146a Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Thu, 20 Apr 2017 09:47:30 +0200 Subject: [PATCH] One more docstring test. --- test/test_api/test_classes.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/test/test_api/test_classes.py b/test/test_api/test_classes.py index 9cea9cd9..46d362c1 100644 --- a/test/test_api/test_classes.py +++ b/test/test_api/test_classes.py @@ -150,6 +150,14 @@ def test_completion_docstring(): x'''), '' ) + # Should also not work if we rename something. + docstr(dedent(''' + def x(): + "hello" + y = x + y'''), + '' + ) def test_completion_params():