diff options
| author | Ned Batchelder <ned@nedbatchelder.com> | 2022-02-20 08:14:45 -0500 |
|---|---|---|
| committer | Ned Batchelder <ned@nedbatchelder.com> | 2022-02-20 08:14:45 -0500 |
| commit | c778139f859c75815fdccefedf9b4133318be795 (patch) | |
| tree | 65c8497ef2c959a76487b9be013cbd16ab2374df | |
| parent | cae288426bfda7872859dbc511e4f386fd58b863 (diff) | |
| download | python-coveragepy-git-c778139f859c75815fdccefedf9b4133318be795.tar.gz | |
style: remove pylint exclusions only needed for 2/3
| -rw-r--r-- | pylintrc | 4 | ||||
| -rw-r--r-- | tests/test_cmdline.py | 2 |
2 files changed, 1 insertions, 5 deletions
@@ -84,10 +84,6 @@ disable= # Formatting stuff superfluous-parens, bad-continuation, -# Disable while we still support Python 2: - useless-object-inheritance, - super-with-arguments, - raise-missing-from, # Messages that are noisy for now, eventually maybe we'll turn them on: invalid-name, protected-access, 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': |
