File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -1453,11 +1453,13 @@ def visit_call(self, node: nodes.Call) -> None:
1453
1453
"""Check that called functions/methods are inferred to callable objects,
1454
1454
and that passed arguments match the parameters in the inferred function.
1455
1455
"""
1456
- def _dp (s , val = None ):
1456
+
1457
+ def _dp (s , val = None ):
1457
1458
if val is None :
1458
1459
print (f" { s } " , flush = True )
1459
1460
else :
1460
1461
print (f" { s } : { val } " , flush = True )
1462
+
1461
1463
_dp ("-" * 25 )
1462
1464
_dp ("visit call, node" , node )
1463
1465
Original file line number Diff line number Diff line change @@ -343,7 +343,7 @@ def test_wrong_import_position_when_others_disabled(self) -> None:
343
343
344
344
def test_super_init_with_non_self_argument (self ) -> None :
345
345
module1 = join (HERE , "regrtest_data" , "super_init_with_non_self_argument.py" )
346
- args = [ module1 ]
346
+ args = [module1 ]
347
347
out = StringIO ()
348
348
self ._run_pylint (args , out = out )
349
349
actual_output = self ._clean_paths (out .getvalue ().strip ())
@@ -354,9 +354,11 @@ def test_super_init_with_non_self_argument(self) -> None:
354
354
{ module1 } :11:0: blah
355
355
"""
356
356
)
357
- assert "Your code has been rated at 10.00/10" not in actual_output , "bad code should fail."
357
+ assert (
358
+ "Your code has been rated at 10.00/10" not in actual_output
359
+ ), "bad code should fail."
358
360
assert self ._clean_paths (expected_output .strip ()) == actual_output .strip ()
359
-
361
+
360
362
def test_progress_reporting (self ) -> None :
361
363
module1 = join (HERE , "regrtest_data" , "import_something.py" )
362
364
module2 = join (HERE , "regrtest_data" , "wrong_import_position.py" )
You can’t perform that action at this time.
0 commit comments