Skip to content

Commit 3929143

Browse files
committed
Merge remote-tracking branch 'origin/master' into potel-base
2 parents b23507c + 1cba56a commit 3929143

File tree

3 files changed

+2
-11
lines changed

3 files changed

+2
-11
lines changed

tests/integrations/excepthook/test_excepthook.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ def capture_envelope(self, envelope):
4242
subprocess.check_output([sys.executable, str(app)], stderr=subprocess.STDOUT)
4343

4444
output = excinfo.value.output
45-
print(output)
4645

4746
assert b"ZeroDivisionError" in output
4847
assert b"LOL" in output
@@ -86,7 +85,6 @@ def capture_envelope(self, envelope):
8685
subprocess.check_output([sys.executable, str(app)], stderr=subprocess.STDOUT)
8786

8887
output = excinfo.value.output
89-
print(output)
9088

9189
assert b"ZeroDivisionError" in output
9290
assert b"LOL" in output

tests/test_api.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
from tests.conftest import SortedBaggage
2222

2323

24-
@pytest.mark.forked
2524
def test_get_current_span_current_scope_with_span(sentry_init):
2625
sentry_init()
2726

@@ -31,7 +30,6 @@ def test_get_current_span_current_scope_with_span(sentry_init):
3130
assert get_current_span() == new_span
3231

3332

34-
@pytest.mark.forked
3533
def test_traceparent_with_tracing_enabled(sentry_init):
3634
sentry_init(traces_sample_rate=1.0)
3735

@@ -43,7 +41,6 @@ def test_traceparent_with_tracing_enabled(sentry_init):
4341
assert get_traceparent() == expected_traceparent
4442

4543

46-
@pytest.mark.forked
4744
def test_traceparent_with_tracing_disabled(sentry_init):
4845
sentry_init()
4946

@@ -55,7 +52,6 @@ def test_traceparent_with_tracing_disabled(sentry_init):
5552
assert get_traceparent() == expected_traceparent
5653

5754

58-
@pytest.mark.forked
5955
def test_baggage_with_tracing_disabled(sentry_init):
6056
sentry_init(release="1.0.0", environment="dev")
6157
propagation_context = get_isolation_scope()._propagation_context
@@ -67,7 +63,6 @@ def test_baggage_with_tracing_disabled(sentry_init):
6763
assert get_baggage() == SortedBaggage(expected_baggage)
6864

6965

70-
@pytest.mark.forked
7166
def test_baggage_with_tracing_enabled(sentry_init):
7267
sentry_init(traces_sample_rate=1.0, release="1.0.0", environment="dev")
7368
with mock.patch("sentry_sdk.tracing_utils.Random.uniform", return_value=0.111111):
@@ -76,7 +71,6 @@ def test_baggage_with_tracing_enabled(sentry_init):
7671
assert get_baggage() == SortedBaggage(expected_baggage)
7772

7873

79-
@pytest.mark.forked
8074
def test_continue_trace(sentry_init):
8175
sentry_init(traces_sample_rate=1.0)
8276

@@ -102,7 +96,6 @@ def test_continue_trace(sentry_init):
10296
}
10397

10498

105-
@pytest.mark.forked
10699
def test_is_initialized():
107100
assert not is_initialized()
108101

@@ -111,7 +104,6 @@ def test_is_initialized():
111104
assert is_initialized()
112105

113106

114-
@pytest.mark.forked
115107
def test_get_client():
116108
client = get_client()
117109
assert client is not None

tests/test_client.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1240,7 +1240,6 @@ def test_error_sampler(_, sentry_init, capture_events, test_config):
12401240
assert len(test_config.sampler_function_mock.call_args[0]) == 2
12411241

12421242

1243-
@pytest.mark.forked
12441243
@pytest.mark.parametrize(
12451244
"opt,missing_flags",
12461245
[
@@ -1285,6 +1284,8 @@ class TestSpanClientReports:
12851284
Tests for client reports related to spans.
12861285
"""
12871286

1287+
__test__ = False
1288+
12881289
@staticmethod
12891290
def span_dropper(spans_to_drop):
12901291
"""

0 commit comments

Comments
 (0)