From 4fea946aa5b66d4b39ebe52bd91e84b0ed5b5d54 Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Thu, 11 Jul 2019 08:15:52 -0700 Subject: Ellipsis is not a binary operator --- testsuite/python3.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'testsuite/python3.py') diff --git a/testsuite/python3.py b/testsuite/python3.py index be7c58f..709695a 100644 --- a/testsuite/python3.py +++ b/testsuite/python3.py @@ -37,3 +37,10 @@ class Class: def m(self): xs: List[int] = [] + + +# Used to trigger W504 +def f( + x: str = ... +): + ... -- cgit v1.2.1