diff --git a/linux_docker_resources/Dockerfile-RHEL b/linux_docker_resources/Dockerfile-RHEL index 8338f9cb..219fa840 100644 --- a/linux_docker_resources/Dockerfile-RHEL +++ b/linux_docker_resources/Dockerfile-RHEL @@ -158,7 +158,7 @@ RUN dnf install \ python3-pygraphviz \ python3-pykdl \ python3-pytest \ - python3-pytest-asyncio \ + $(if test ${EL_RELEASE/.*/} -gt 9; then echo python3-pytest-asyncio; fi) \ python3-pytest-cov \ python3-pytest-mock \ python3-pytest-repeat \