From 8810f059d700900624431720e6c034f1dca779c0 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sat, 27 Apr 2019 16:31:27 -0400 Subject: Fix a few capitalizations --- CHANGES.rst | 2 +- tests/test_concurrency.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index dbb9f74c..3b884772 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -19,7 +19,7 @@ Unreleased - Dynamic contexts can now be determined by third-party code in a plugin. Thanks, Justas Sadzevičius. -- the ``dynamic_context = test_function`` setting now works with Python 2 +- The ``dynamic_context = test_function`` setting now works with Python 2 old-style classes, though it only reports the method name, not the class it was defined on. Closes `issue 797`_. diff --git a/tests/test_concurrency.py b/tests/test_concurrency.py index 85f4a3f2..1463b29d 100644 --- a/tests/test_concurrency.py +++ b/tests/test_concurrency.py @@ -479,7 +479,7 @@ def test_coverage_stop_in_threads(): return has_stopped_coverage.append(ident) - cov = coverage.coverage() + cov = coverage.Coverage() cov.start() t = threading.Thread(target=run_thread) # pragma: nested @@ -528,7 +528,7 @@ def test_thread_safe_save_data(tmpdir): # still running. duration = 0.01 for _ in range(3): - cov = coverage.coverage() + cov = coverage.Coverage() cov.start() threads = [threading.Thread(target=random_load) for _ in range(10)] # pragma: nested -- cgit v1.2.1