Skip to content
This repository was archived by the owner on Jul 11, 2022. It is now read-only.

Commit 264eb8a

Browse files
authored
Clean-up warnings (#331)
Signed-off-by: Yuri Shkuro <[email protected]>
1 parent 0597daf commit 264eb8a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/test_crossdock.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def app():
5050

5151

5252
# noinspection PyShadowingNames
53-
@pytest.yield_fixture
53+
@pytest.fixture
5454
def tracer():
5555
tracer = Tracer(
5656
service_name='test-tracer',

tests/test_reporter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def _incr_count(self, key, value):
9696

9797

9898
class ReporterTest(AsyncTestCase):
99-
@pytest.yield_fixture
99+
@pytest.fixture
100100
def thread_loop(self):
101101
yield
102102

0 commit comments

Comments
 (0)