summaryrefslogtreecommitdiff
path: root/tests/test_cmdline.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2022-02-20 08:14:45 -0500
committerNed Batchelder <ned@nedbatchelder.com>2022-02-20 08:14:45 -0500
commitc778139f859c75815fdccefedf9b4133318be795 (patch)
tree65c8497ef2c959a76487b9be013cbd16ab2374df /tests/test_cmdline.py
parentcae288426bfda7872859dbc511e4f386fd58b863 (diff)
downloadpython-coveragepy-git-c778139f859c75815fdccefedf9b4133318be795.tar.gz
style: remove pylint exclusions only needed for 2/3
Diffstat (limited to 'tests/test_cmdline.py')
-rw-r--r--tests/test_cmdline.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_cmdline.py b/tests/test_cmdline.py
index 5299a7ad..a088ab8a 100644
--- a/tests/test_cmdline.py
+++ b/tests/test_cmdline.py
@@ -1047,7 +1047,7 @@ class CmdMainTest(CoverageTest):
try:
raise Exception("oh noes!")
except:
- raise _ExceptionDuringRun(*sys.exc_info())
+ raise _ExceptionDuringRun(*sys.exc_info()) from None
elif argv[0] == 'internalraise':
raise ValueError("coverage is broken")
elif argv[0] == 'exit':