mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-13 04:52:57 +00:00
Fix python version test
This commit is contained in:
@@ -17,8 +17,9 @@ def test_python_version(
|
|||||||
logs = container.run_and_wait(
|
logs = container.run_and_wait(
|
||||||
timeout=5,
|
timeout=5,
|
||||||
tty=True,
|
tty=True,
|
||||||
command=["start.sh", "python", "--version"],
|
command=["python", "--version"],
|
||||||
)
|
)
|
||||||
|
assert logs.startswith("Python ")
|
||||||
actual_python_version = version.parse(logs.split()[1])
|
actual_python_version = version.parse(logs.split()[1])
|
||||||
assert actual_python_version < version.parse(
|
assert actual_python_version < version.parse(
|
||||||
python_next_version
|
python_next_version
|
||||||
|
Reference in New Issue
Block a user