summaryrefslogtreecommitdiff
path: root/tests/functional/pragma_after_backslash.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/pragma_after_backslash.py')
-rw-r--r--tests/functional/pragma_after_backslash.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/functional/pragma_after_backslash.py b/tests/functional/pragma_after_backslash.py
new file mode 100644
index 000000000..c506f6c9d
--- /dev/null
+++ b/tests/functional/pragma_after_backslash.py
@@ -0,0 +1,10 @@
+"""Test that a pragma has an effect when separated by a backslash."""
+# pylint: disable=too-few-public-methods
+
+class Foo:
+ """block-disable test"""
+
+ def meth3(self):
+ """test one line disabling"""
+ print(self.bla) \
+ # pylint: disable=E1101