From 3751452817a808aec1ebb7a5da3393113a84ade2 Mon Sep 17 00:00:00 2001 From: anthony sottile Date: Thu, 14 Nov 2024 11:04:32 -0500 Subject: [PATCH] ref: fix monkeypatching of stderr something different about python 3.13 causes this to fail on .flush() --- .../management/commands/test_generate_controlsilo_urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/sentry/management/commands/test_generate_controlsilo_urls.py b/tests/sentry/management/commands/test_generate_controlsilo_urls.py index b31972be65f942..4dd9cf6878aca6 100644 --- a/tests/sentry/management/commands/test_generate_controlsilo_urls.py +++ b/tests/sentry/management/commands/test_generate_controlsilo_urls.py @@ -11,7 +11,7 @@ class TestGenerateControlsiloUrls(TestCase): def call_command(self, *args, **kwargs): out = StringIO() - call_command("generate_controlsilo_urls", *args, stdout=out, stderr=StringIO, **kwargs) + call_command("generate_controlsilo_urls", *args, stdout=out, stderr=StringIO(), **kwargs) return out.getvalue() def test_skip_includes(self):