diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2021-01-31 09:12:43 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2021-01-31 09:20:49 -0500 |
commit | 65b5830a4d13d65c3bb314dd4894d565a16ceb9b (patch) | |
tree | 12b5c6bdf4bb68145c75d3c2d802adc050c7febb /tests/test_plugins.py | |
parent | 4bad09744d80c6123e77252d5db09a31db25297b (diff) | |
download | python-coveragepy-git-65b5830a4d13d65c3bb314dd4894d565a16ceb9b.tar.gz |
style: singleton comparisons should use is
I guess the original line was wrong, but it would have been nice for
unittest2pytest to fix it for me:
https://github.com/pytest-dev/unittest2pytest/issues/52
Diffstat (limited to 'tests/test_plugins.py')
-rw-r--r-- | tests/test_plugins.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_plugins.py b/tests/test_plugins.py index 3472522b..e706ef36 100644 --- a/tests/test_plugins.py +++ b/tests/test_plugins.py @@ -403,7 +403,7 @@ class GoodFileTracerTest(FileTracerTest): analysis = cov._analyze("foo_7.html") assert analysis.statements == {1, 2, 3, 4, 5, 6, 7} # Plugins don't do branch coverage yet. - assert analysis.has_arcs() == True + assert analysis.has_arcs() is True assert analysis.arc_possibilities() == [] assert analysis.missing == {1, 2, 3, 6, 7} |