diff --git a/tests/integration/test_cli.py b/tests/integration/test_cli.py index c94f40c4..137ae892 100644 --- a/tests/integration/test_cli.py +++ b/tests/integration/test_cli.py @@ -273,7 +273,7 @@ def test_pipenv_outdated_prerelease(PipenvInstance): with open(p.pipfile_path, "w") as f: contents = """ [packages] -sqlalchemy = "<1.2.4" +sqlalchemy = "<=1.2.3" """.strip() f.write(contents) c = p.pipenv('update --pre --outdated') diff --git a/tests/integration/test_install_basic.py b/tests/integration/test_install_basic.py index 90f2b37f..bbadf121 100644 --- a/tests/integration/test_install_basic.py +++ b/tests/integration/test_install_basic.py @@ -479,8 +479,8 @@ extras = ["socks"] @pytest.mark.install def test_install_prerelease(PipenvInstance): with PipenvInstance(chdir=True) as p: - c = p.pipenv("install 'sqlalchemy<1.2.4'") + c = p.pipenv("install 'sqlalchemy<=1.2.3'") assert c.return_code != 0 - c = p.pipenv("install --pre 'sqlalchemy<1.2.4'") + c = p.pipenv("install --pre 'sqlalchemy<=1.2.3'") assert c.return_code == 0 assert p.lockfile["default"]["sqlalchemy"]["version"] == "1.2.0b3"