From e63783f12291d1f0badfe5749f20562340f46400 Mon Sep 17 00:00:00 2001 From: David Halter Date: Fri, 16 Aug 2013 11:02:22 +0430 Subject: [PATCH] test for empty decorators --- test/completion/invalid.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/test/completion/invalid.py b/test/completion/invalid.py index ad24ea41..d98ba0a9 100644 --- a/test/completion/invalid.py +++ b/test/completion/invalid.py @@ -61,6 +61,16 @@ def f(seq1...=None): #? int() f(1) +@ +def test_empty_decorator(): + return 1 + +#? int() +test_empty_decorator() + +# ----------------- +# flows +# ----------------- # first part not complete (raised errors) if a