summaryrefslogtreecommitdiff
path: root/tests/unit/test_exceptions.py
diff options
context:
space:
mode:
authorAnthony Sottile <asottile@umich.edu>2022-01-23 20:44:19 -0500
committerGitHub <noreply@github.com>2022-01-23 20:44:19 -0500
commitf178bd340d32289a3cc7c9fdde356de7f6f23341 (patch)
treefa832a9746c06a10fcf08576ad12e368d1a54f0e /tests/unit/test_exceptions.py
parente704ab4d4405fde784aeecde47f563900f5f8dfd (diff)
parentd2333c4471754355641ca4fa78295dd0dcf6b2f1 (diff)
downloadflake8-main.tar.gz
Merge pull request #1543 from asottile/filename-in-execution-errormain
include the file path in the plugin execution error
Diffstat (limited to 'tests/unit/test_exceptions.py')
-rw-r--r--tests/unit/test_exceptions.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unit/test_exceptions.py b/tests/unit/test_exceptions.py
index 06c5179..96d0244 100644
--- a/tests/unit/test_exceptions.py
+++ b/tests/unit/test_exceptions.py
@@ -18,6 +18,7 @@ from flake8 import exceptions
exception=ValueError("boom!"),
),
exceptions.PluginExecutionFailed(
+ filename="filename.py",
plugin_name="plugin_name",
exception=ValueError("boom!"),
),