summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2022-01-10 07:52:17 -0500
committerNed Batchelder <ned@nedbatchelder.com>2022-01-10 16:15:22 -0500
commita85ac5a10b297b20a37364ed07981cc1f5da1638 (patch)
treeeb27bf1ab22f81609072878ba9b1452e77056c2a
parenta00739142d023c0081df20157f0bf4615420e99c (diff)
downloadpython-coveragepy-git-a85ac5a10b297b20a37364ed07981cc1f5da1638.tar.gz
style(test): use a consistent name format for test_bug_XXX tests
-rw-r--r--tests/test_arcs.py6
-rw-r--r--tests/test_concurrency.py2
-rw-r--r--tests/test_venv.py2
3 files changed, 5 insertions, 5 deletions
diff --git a/tests/test_arcs.py b/tests/test_arcs.py
index 19e2ebb9..896d0646 100644
--- a/tests/test_arcs.py
+++ b/tests/test_arcs.py
@@ -1941,7 +1941,7 @@ class AsyncTest(CoverageTest):
# https://bugs.python.org/issue44621
@pytest.mark.skipif(env.PYVERSION[:2] == (3, 9), reason="avoid a 3.9 bug: 44621")
@pytest.mark.skipif(env.PYVERSION < (3, 7), reason="need asyncio.run")
- def test_bug1158(self):
+ def test_bug_1158(self):
self.check_coverage("""\
import asyncio
@@ -1971,7 +1971,7 @@ class AsyncTest(CoverageTest):
)
@skip_eventlet_670
@pytest.mark.skipif(env.PYVERSION < (3, 7), reason="need asyncio.run")
- def test_bug1176(self):
+ def test_bug_1176(self):
self.check_coverage("""\
import asyncio
@@ -1994,7 +1994,7 @@ class AsyncTest(CoverageTest):
(3, 10, 0, "alpha", 0, 0) <= env.PYVERSION[:6] <= (3, 10, 0, "candidate", 1, 0),
reason="avoid a 3.10 bug fixed after rc1: 44840"
)
- def test_bug1205(self):
+ def test_bug_1205(self):
self.check_coverage("""\
def func():
if T(2):
diff --git a/tests/test_concurrency.py b/tests/test_concurrency.py
index 69157968..2e784cc4 100644
--- a/tests/test_concurrency.py
+++ b/tests/test_concurrency.py
@@ -558,7 +558,7 @@ class MultiprocessingTest(CoverageTest):
assert "Exception during multiprocessing bootstrap init" in out
assert "Exception: Crashing because called by _bootstrap" in out
- def test_bug890(self):
+ def test_bug_890(self):
# chdir in multiprocessing shouldn't keep us from finding the
# .coveragerc file.
self.make_file("multi.py", """\
diff --git a/tests/test_venv.py b/tests/test_venv.py
index f5e2b34f..17cfb6e2 100644
--- a/tests/test_venv.py
+++ b/tests/test_venv.py
@@ -322,7 +322,7 @@ class VirtualenvTest(CoverageTest):
assert "fifth" in out
assert "sixth" in out
- def test_bug888(self, coverage_command):
+ def test_bug_888(self, coverage_command):
out = run_in_venv(
coverage_command +
" run --source=bug888/app,bug888/plugin bug888/app/testcov/main.py"