summaryrefslogtreecommitdiff
path: root/tests/test_context.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2018-09-23 10:13:32 -0400
committerNed Batchelder <ned@nedbatchelder.com>2018-09-23 18:50:37 -0400
commitb609117ef73ae372f027686b22f13c488c841253 (patch)
treefbd669a24b029c969b39991de340a1c3d19b3cb6 /tests/test_context.py
parent6c14ffb41a1d1b053f8df52dc37c35f730a8666c (diff)
downloadpython-coveragepy-git-b609117ef73ae372f027686b22f13c488c841253.tar.gz
We're calling this static, not global
Diffstat (limited to 'tests/test_context.py')
-rw-r--r--tests/test_context.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test_context.py b/tests/test_context.py
index a6be922d..ad010a37 100644
--- a/tests/test_context.py
+++ b/tests/test_context.py
@@ -11,11 +11,11 @@ from coverage.data import CoverageData
from tests.coveragetest import CoverageTest
-class GlobalContextTest(CoverageTest):
- """Tests of the global context."""
+class StaticContextTest(CoverageTest):
+ """Tests of the static context."""
def setUp(self):
- super(GlobalContextTest, self).setUp()
+ super(StaticContextTest, self).setUp()
self.skip_unless_data_storage_is("sql")
def test_no_context(self):
@@ -25,7 +25,7 @@ class GlobalContextTest(CoverageTest):
data = cov.get_data()
self.assertCountEqual(data.measured_contexts(), [""])
- def test_global_context(self):
+ def test_static_context(self):
self.make_file("main.py", "a = 1")
cov = coverage.Coverage(context="gooey")
self.start_import_stop(cov, "main")