diff --git a/features/core.feature b/features/core.feature index 99bcf5a5..53d37f8b 100644 --- a/features/core.feature +++ b/features/core.feature @@ -138,4 +138,4 @@ Feature: Basic reading and writing to a journal Scenario: Version warning appears for versions below 3.7 When we run "jrnl --diagnostic" - Then the Python version warning should appear if our version is below "3.7" + Then the Python version warning should appear if our version is below 3.7 diff --git a/features/steps/core.py b/features/steps/core.py index cbc1dbe7..5cf5b79b 100644 --- a/features/steps/core.py +++ b/features/steps/core.py @@ -381,10 +381,7 @@ def check_python_warning_if_version_low_enough(context, version): version ): out = context.stderr_capture.getvalue() - assert ( - "THIS SHOULD FAIL ON 3.6 REMOVE WHEN CONFIRMING - WARNING: Python versions" - in out - ) + assert "WARNING: Python versions" in out else: assert True