Skip to content
This repository was archived by the owner on Sep 17, 2025. It is now read-only.

Commit 62b4635

Browse files
authored
Clean up execution context in httplib unit tests (#118)
1 parent 80fbadf commit 62b4635

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

tests/unit/trace/ext/httplib/test_httplib_trace.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@
2121

2222
class Test_httplib_trace(unittest.TestCase):
2323

24+
def tearDown(self):
25+
from opencensus.trace import execution_context
26+
27+
execution_context.clear()
28+
2429
def test_trace_integration(self):
2530
mock_wrap_request = mock.Mock()
2631
mock_wrap_response = mock.Mock()

0 commit comments

Comments
 (0)