summaryrefslogtreecommitdiff
path: root/igor.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2021-01-31 09:12:43 -0500
committerNed Batchelder <ned@nedbatchelder.com>2021-01-31 09:20:49 -0500
commit65b5830a4d13d65c3bb314dd4894d565a16ceb9b (patch)
tree12b5c6bdf4bb68145c75d3c2d802adc050c7febb /igor.py
parent4bad09744d80c6123e77252d5db09a31db25297b (diff)
downloadpython-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 'igor.py')
-rw-r--r--igor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/igor.py b/igor.py
index b2dc05cf..d8d2069d 100644
--- a/igor.py
+++ b/igor.py
@@ -157,7 +157,7 @@ def run_tests_with_coverage(tracer, *runner_args):
try:
# Re-import coverage to get it coverage tested! I don't understand all
# the mechanics here, but if I don't carry over the imported modules
- # (in covmods), then things go haywire (os == None, eventually).
+ # (in covmods), then things go haywire (os is None, eventually).
covmods = {}
covdir = os.path.split(coverage.__file__)[0]
# We have to make a list since we'll be deleting in the loop.