From 847fdffe017aa9e7980849ca8e130e1d5a1f3eb5 Mon Sep 17 00:00:00 2001 From: Min RK Date: Thu, 16 Feb 2023 13:25:01 +0100 Subject: [PATCH] update default env expectations in seperate kernel envs --- tests/conda/py35-binder-dir/verify | 2 +- tests/conda/py36-postBuild/verify.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/conda/py35-binder-dir/verify b/tests/conda/py35-binder-dir/verify index dc2d9a60..67ea6827 100755 --- a/tests/conda/py35-binder-dir/verify +++ b/tests/conda/py35-binder-dir/verify @@ -3,7 +3,7 @@ import os import sys from subprocess import STDOUT, check_output -assert sys.version_info[:2] == (3, 7), sys.version +assert sys.version_info[:2] == (3, 10), sys.version def sh(cmd, **kwargs): diff --git a/tests/conda/py36-postBuild/verify.py b/tests/conda/py36-postBuild/verify.py index 806a5c9a..78c47c3e 100644 --- a/tests/conda/py36-postBuild/verify.py +++ b/tests/conda/py36-postBuild/verify.py @@ -69,7 +69,7 @@ def test_kernel_env(kernel_conda): def test_server_env(server_conda): # this should be the default version # it will need updating when the default changes - assert server_conda["python"]["version"][:3] == "3.7" + assert server_conda["python"]["version"].split(".")[:2] == ["3", "10"] def test_conda_install(kernel_conda, server_conda):