summaryrefslogtreecommitdiff
path: root/tests/input
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2020-05-02 08:16:16 +0200
committerPierre Sassoulas <pierre.sassoulas@gmail.com>2020-05-02 20:02:01 +0200
commit4339cdee779b705b00c5a266aec5b7b1908c8309 (patch)
treefda91dc3cbcbae8f846002ff531c8296cad6bd2f /tests/input
parent716bcc4e0e8ea5a4d5ab4836c4042b816a5e64d0 (diff)
downloadpylint-git-4339cdee779b705b00c5a266aec5b7b1908c8309.tar.gz
Remove all tests concerning bad-continuation
Diffstat (limited to 'tests/input')
-rw-r--r--tests/input/func_bad_cont_dictcomp_py27.py38
1 files changed, 0 insertions, 38 deletions
diff --git a/tests/input/func_bad_cont_dictcomp_py27.py b/tests/input/func_bad_cont_dictcomp_py27.py
deleted file mode 100644
index a55271079..000000000
--- a/tests/input/func_bad_cont_dictcomp_py27.py
+++ /dev/null
@@ -1,38 +0,0 @@
-"""Bad continuations in dictionary comprehensions."""
-
-__revision__ = 0
-
-# Dictionary comprehensions should not require extra indentation when breaking
-# before the 'for', which is not part of the value
-C1 = {'key{}'.format(x): 'value{}'.format(x)
- for x in range(3)}
-
-C2 = {'key{}'.format(x): 'value{}'.format(x) for x in
- range(3)}
-
-# Dictionary comprehensions with multiple loops broken in different places
-C3 = {x*y: (x, y) for x in range(3) for y in range(3)}
-
-C4 = {x*y: (x, y)
- for x in range(3) for y in range(3)}
-
-C5 = {x*y: (x, y) for x
- in range(3) for y in range(3)}
-
-C6 = {x*y: (x, y) for x in range(3)
- for y in range(3)}
-
-C7 = {key:
- key ** 2
- for key in range(10)}
-
-C8 = {
- key: key ** 2
- for key in range(10)}
-
-# Misaligned cases for dict comprehensions
-C9 = {'key{}'.format(x): 'value{}'.format(x)
- for x in range(3)} # [bad-continuation]
-
-C9 = {'key{}'.format(x): 'value{}'.format(x)
- for x in range(3)} # [bad-continuation]