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
commit15f549b8486bdf41b11211592c94bcf46f1d7989 (patch)
tree48a38d5a43eb87b739ffcfecfea60acc72194e64 /tests/test_api.py
parent59889252937e31ab4c3b734922c63dd529e26e03 (diff)
downloadpython-coveragepy-15f549b8486bdf41b11211592c94bcf46f1d7989.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 d5591d8..08f4e05 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