diff --git a/tests/test_errors.py b/tests/test_errors.py index 304d6947774..c4a0b64b650 100644 --- a/tests/test_errors.py +++ b/tests/test_errors.py @@ -7,7 +7,7 @@ def test_pickle_missing_config_exception() -> None: exception = MissingConfigException("msg", "filename", ["option1", "option2"]) x = pickle.dumps(exception) - loaded = pickle.loads(x) + loaded = pickle.loads(x) # nosec assert isinstance(loaded, MissingConfigException) assert loaded.args == ("msg",) assert loaded.missing_cfg_file == "filename"