Skip to content

Commit cf148d7

Browse files
[test multiprocessing] Fix tests for unpickable plugins (#8470)
1 parent adc0bc2 commit cf148d7

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

tests/test_check_parallel.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -249,10 +249,9 @@ def test_linter_with_unpickleable_plugins_is_pickleable(self) -> None:
249249
linter.load_plugin_modules(["pylint.extensions.overlapping_exceptions"])
250250
try:
251251
dill.dumps(linter)
252-
# TODO: 3.0: Fix this test by raising this assertion again
253-
# raise AssertionError(
254-
# "Plugins loaded were pickle-safe! This test needs altering"
255-
# )
252+
raise AssertionError(
253+
"Plugins loaded were pickle-safe! This test needs altering"
254+
)
256255
except (KeyError, TypeError, PickleError, NotImplementedError):
257256
pass
258257

0 commit comments

Comments
 (0)