From 38a0798174efa62ed50323f9d3d85ec221ea1785 Mon Sep 17 00:00:00 2001 From: Irina Truong Date: Sat, 7 Oct 2023 17:13:53 -0700 Subject: [PATCH] Skip failing scenarios in 3.12. --- tests/features/environment.py | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/tests/features/environment.py b/tests/features/environment.py index 27f7f8445..50ac5faf0 100644 --- a/tests/features/environment.py +++ b/tests/features/environment.py @@ -166,10 +166,14 @@ def before_step(context, _): def is_known_problem(scenario): """TODO: why is this not working in 3.12?""" - return scenario.name.startswith("interrupt current query") and ( - sys.version_info[0], - sys.version_info[1], - ) >= (3, 12) + if sys.version_info >= (3, 12): + return scenario.name in ( + 'interrupt current query via "ctrl + c"', + "run the cli with --username", + "run the cli with --user", + "run the cli with --port", + ) + return False def before_scenario(context, scenario):