We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2848594 commit c85297cCopy full SHA for c85297c
tests/test_check_parallel.py
@@ -89,7 +89,9 @@ def test_worker_initialize(self):
89
90
def test_worker_check_single_file_uninitialised(self):
91
pylint.lint.parallel._worker_linter = None
92
- with pytest.raises(AttributeError, msg="Something has unexpectedly changed"):
+ with pytest.raises( # Objects that do not match the linter interface will fail
93
+ AttributeError, match="'NoneType' object has no attribute 'open'"
94
+ ):
95
worker_check_single_file(_gen_file_data())
96
97
def test_worker_check_single_file_no_checkers(self):
0 commit comments