Fix behave Python version test

This commit is contained in:
Micah Jerome Ellison 2020-07-04 15:44:08 -07:00
parent 3ae05ab872
commit ac81774aed
2 changed files with 2 additions and 5 deletions

View file

@ -138,4 +138,4 @@ Feature: Basic reading and writing to a journal
Scenario: Version warning appears for versions below 3.7 Scenario: Version warning appears for versions below 3.7
When we run "jrnl --diagnostic" 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

View file

@ -381,10 +381,7 @@ def check_python_warning_if_version_low_enough(context, version):
version version
): ):
out = context.stderr_capture.getvalue() out = context.stderr_capture.getvalue()
assert ( assert "WARNING: Python versions" in out
"THIS SHOULD FAIL ON 3.6 REMOVE WHEN CONFIRMING - WARNING: Python versions"
in out
)
else: else:
assert True assert True