summaryrefslogtreecommitdiff
path: root/tests/test_api.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_api.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_api.py')
-rw-r--r--tests/test_api.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/test_api.py b/tests/test_api.py
index d5591d80..08f4e059 100644
--- a/tests/test_api.py
+++ b/tests/test_api.py
@@ -31,7 +31,7 @@ class SingletonApiTest(CoverageTest):
f = 7
""")
- # Import the python file, executing it.
+ # Import the Python file, executing it.
self.start_import_stop(coverage, modname)
def test_simple(self):
@@ -45,7 +45,7 @@ class SingletonApiTest(CoverageTest):
d = 5
""")
- # Import the python file, executing it.
+ # Import the Python file, executing it.
self.start_import_stop(coverage, "mycode")
_, statements, missing, missingtext = coverage.analysis("mycode.py")
@@ -117,7 +117,7 @@ class ApiTest(CoverageTest):
fooey = 17
""")
- # Import the python file, executing it.
+ # Import the Python file, executing it.
self.start_import_stop(cov, "mycode")
_, statements, missing, _ = cov.analysis("not_run.py")
@@ -135,7 +135,7 @@ class ApiTest(CoverageTest):
fooey = 17
""")
- # Import the python file, executing it.
+ # Import the Python file, executing it.
cov = coverage.coverage()
self.start_import_stop(cov, "mymain")
@@ -149,7 +149,7 @@ class ApiTest(CoverageTest):
filename, _, _, _ = cov.analysis(sys.modules["mymod"])
self.assertEqual(os.path.basename(filename), "mymod.py")
- # Import the python file, executing it again, once it's been compiled
+ # Import the Python file, executing it again, once it's been compiled
# already.
cov = coverage.coverage()
self.start_import_stop(cov, "mymain")
@@ -531,7 +531,7 @@ class AnalysisTest(CoverageTest):
fun2(3)
""")
- # Import the python file, executing it.
+ # Import the Python file, executing it.
self.start_import_stop(cov, "missing")
nums = cov._analyze("missing.py").numbers