mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-20 21:18:32 +02:00
take out old test
This commit is contained in:
parent
6ada26d629
commit
78d362e0db
1 changed files with 0 additions and 15 deletions
|
@ -490,21 +490,6 @@ def list_journal_directory(context, journal="default"):
|
|||
print(os.path.join(root, file))
|
||||
|
||||
|
||||
@then("the Python version warning should appear if our version is below {version}")
|
||||
def check_python_warning_if_version_low_enough(context, version):
|
||||
import platform
|
||||
|
||||
import packaging.version
|
||||
|
||||
if packaging.version.parse(platform.python_version()) < packaging.version.parse(
|
||||
version
|
||||
):
|
||||
out = context.stderr_capture.getvalue()
|
||||
assert "WARNING: Python versions" in out
|
||||
else:
|
||||
assert True
|
||||
|
||||
|
||||
@then("fail")
|
||||
def debug_fail(context):
|
||||
assert False
|
||||
|
|
Loading…
Add table
Reference in a new issue