summaryrefslogtreecommitdiff
path: root/tests/test_oddball.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2014-12-12 15:36:29 -0500
committerNed Batchelder <ned@nedbatchelder.com>2014-12-12 15:36:29 -0500
commit1b6700a8577a7658bb708faf1defd262969a06fc (patch)
treeb8c8ac59d506bdb57436069b5c3e6663ae455d91 /tests/test_oddball.py
parent6055667e8090fc09e55b96ae49d5ac6a37706ede (diff)
downloadpython-coveragepy-git-1b6700a8577a7658bb708faf1defd262969a06fc.tar.gz
For some reason, lowercase 'python' suddenly struck me as odd-looking. Fix them.
Diffstat (limited to 'tests/test_oddball.py')
-rw-r--r--tests/test_oddball.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_oddball.py b/tests/test_oddball.py
index 3a013b04..5b623ae4 100644
--- a/tests/test_oddball.py
+++ b/tests/test_oddball.py
@@ -210,7 +210,7 @@ class PyexpatTest(CoverageTest):
cov = coverage.coverage()
cov.erase()
- # Import the python file, executing it.
+ # Import the Python file, executing it.
self.start_import_stop(cov, "outer")
_, statements, missing, _ = cov.analysis("trydom.py")
@@ -320,8 +320,8 @@ class ExceptionTest(CoverageTest):
lines = cov.data.line_data()
clean_lines = {}
for f, llist in lines.items():
- # f is a path to a python module, so we drop the '.py' to get
- # a callname
+ # f is a path to a Python module, so we drop the '.py' to get
+ # a callname.
basename = os.path.basename(f)
assert basename.endswith(".py")
if basename[:-3] in callnames: