From 8bf2fe77e235e322365f178d2a54a79a21f3129d Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 17 Dec 2015 15:06:20 +0100 Subject: [PATCH] add some more non-pep0484-junk to the test --- test/completion/pep0484.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/test/completion/pep0484.py b/test/completion/pep0484.py index bba6f50a..d49f8c58 100644 --- a/test/completion/pep0484.py +++ b/test/completion/pep0484.py @@ -111,7 +111,11 @@ class SelfReference: #? SelfReference() SelfReference().test_method() -def function_with_non_pep_0484_annotation(x: "I can put anything here", y: 3 + 3) -> int("42"): +def function_with_non_pep_0484_annotation( + x: "I can put anything here", + xx: "", + yy: "\r\n;+*&^564835(---^&*34", + y: 3 + 3) -> int("42"): # infers int from function call #? int() x @@ -119,7 +123,7 @@ def function_with_non_pep_0484_annotation(x: "I can put anything here", y: 3 + 3 #? str() y #? -function_with_non_pep_0484_annotation(1, "force string") +function_with_non_pep_0484_annotation(1, 2, 3, "force string") def function_forward_reference_dynamic( x: return_str_type(),