We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08bbe00 commit 5280490Copy full SHA for 5280490
tests/test_utils.py
@@ -905,8 +905,12 @@ def test_get_current_thread_meta_failed_to_get_main_thread():
905
results = Queue(maxsize=1)
906
907
def target():
908
- with mock.patch("threading.current_thread", side_effect=["fake thread"]):
909
+ with mock.patch(
+ "sentry_sdk.utils.threading.current_thread", side_effect=["fake thread"]
910
+ ):
911
912
913
914
results.put(get_current_thread_meta())
915
916
main_thread = threading.main_thread()
0 commit comments