mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-20 21:18:32 +02:00
Fix behave Python version test
This commit is contained in:
parent
3ae05ab872
commit
ac81774aed
2 changed files with 2 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue