about summary refs log tree commit diff stats
path: root/tests/pylint/test_py2_compat.py
diff options
context:
space:
mode:
authortoonn <toonn@toonn.io>2022-05-26 15:59:10 +0200
committertoonn <toonn@toonn.io>2022-05-26 15:59:10 +0200
commitff0d4852010bedbd19679c21f3729aeb1770f132 (patch)
tree1711f13eaa5439ee6b6042426ba1458394ce3227 /tests/pylint/test_py2_compat.py
parent5514b1cf6d5e0fbed8c66e78c2446544325b409b (diff)
downloadranger-ff0d4852010bedbd19679c21f3729aeb1770f132.tar.gz
test_py2_compat: Ignore error message positions
Diffstat (limited to 'tests/pylint/test_py2_compat.py')
-rw-r--r--tests/pylint/test_py2_compat.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/pylint/test_py2_compat.py b/tests/pylint/test_py2_compat.py
index 33fc5681..ff13db7c 100644
--- a/tests/pylint/test_py2_compat.py
+++ b/tests/pylint/test_py2_compat.py
@@ -28,6 +28,7 @@ class TestPy2CompatibilityChecker(pylint.testutils.CheckerTestCase):
                 node=oldstyle_class,
                 confidence=HIGH,
             ),
+            ignore_position=True,
         ):
             self.checker.visit_classdef(oldstyle_class)
 
@@ -60,6 +61,7 @@ class TestPy2CompatibilityChecker(pylint.testutils.CheckerTestCase):
                 node=print_function_call,
                 confidence=HIGH,
             ),
+            ignore_position=True,
         ):
             self.checker.visit_call(print_function_call)
 
@@ -100,6 +102,7 @@ class TestPy2CompatibilityChecker(pylint.testutils.CheckerTestCase):
                 node=early_print_function_call,
                 confidence=HIGH,
             ),
+            ignore_position=True,
         ):
             self.checker.visit_call(early_print_function_call)
 
@@ -117,6 +120,7 @@ class TestPy2CompatibilityChecker(pylint.testutils.CheckerTestCase):
                 node=implicit_format_spec,
                 confidence=HIGH,
             ),
+            ignore_position=True,
         ):
             self.checker.visit_call(implicit_format_spec)
 
@@ -141,6 +145,7 @@ class TestPy2CompatibilityChecker(pylint.testutils.CheckerTestCase):
                 node=with_Popen,
                 confidence=HIGH,
             ),
+            ignore_position=True,
         ):
             self.checker.visit_with(with_subprocess_Popen)
             self.checker.visit_with(with_Popen)
@@ -160,6 +165,7 @@ class TestPy2CompatibilityChecker(pylint.testutils.CheckerTestCase):
                 node=f_string,
                 confidence=HIGH,
             ),
+            ignore_position=True,
         ):
             self.checker.visit_joinedstr(f_string)
         with self.assertNoMessages():
n up comments in all subx files' href='/akkartik/mu/commit/subx/examples/ex10.subx?h=hlt&id=9d27e966b5e9bf1bd3da48f49d7e133d112a2bbe'>9d27e966 ^
33352536 ^
9d27e966 ^
33352536 ^
ee9a9237 ^
6030d7e2 ^
ecfbbfb5 ^
33352536 ^
ecfbbfb5 ^
ddeed58f ^


71eb22a5 ^
33352536 ^


03d50cc8 ^
33352536 ^




ddeed58f ^
6323661c ^
6070c23e ^
ddeed58f ^
33352536 ^
6070c23e ^
ddeed58f ^
33352536 ^

6030d7e2 ^

03d50cc8 ^
6030d7e2 ^
6323661c ^
6070c23e ^
03d50cc8 ^
33352536 ^
6030d7e2 ^

03d50cc8 ^
33352536 ^
6030d7e2 ^
ed0e64a9 ^
ee9a9237 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69