diff --git a/tests/repositories/test_pypi_repository.py b/tests/repositories/test_pypi_repository.py index 7396324af5a..bf74a743893 100644 --- a/tests/repositories/test_pypi_repository.py +++ b/tests/repositories/test_pypi_repository.py @@ -141,8 +141,8 @@ def test_package() -> None: assert win_inet.python_versions == "~2.7 || ~2.6" assert ( str(win_inet.marker) - == 'sys_platform == "win32" and (python_version == "2.7"' - ' or python_version == "2.6") and extra == "socks"' + == 'sys_platform == "win32" and python_version == "2.7" and extra == "socks" or' + ' sys_platform == "win32" and python_version == "2.6" and extra == "socks"' )