diff options
Diffstat (limited to 'python/test/Ice/asyncio/test.py')
-rw-r--r-- | python/test/Ice/asyncio/test.py | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/python/test/Ice/asyncio/test.py b/python/test/Ice/asyncio/test.py index 8df759f8107..c688472887d 100644 --- a/python/test/Ice/asyncio/test.py +++ b/python/test/Ice/asyncio/test.py @@ -5,13 +5,6 @@ # This test requires asyncio methods which are only available with Python 3.7 -# We want to check the version of the python interpreter used to run the tests -# not the version of the python interpreter running this script see --python option -version = subprocess.check_output([currentConfig.python, - "-c", - "import sys; print(f\"{sys.version_info[0]}.{sys.version_info[1]}\")"], text=True) -version = tuple(int(num) for num in version.split(".")) - -if version >= (3, 7): +if currentConfig.getPythonVersion() >= (3, 7): TestSuite(__name__) |