Skip to content

Commit

Permalink
Replace version of Python to install in test_{un,}install test
Browse files Browse the repository at this point in the history
PyPy 2.6.1's download link is not working anymore.
  • Loading branch information
tjanez committed Sep 29, 2021
1 parent 7d47464 commit c600d1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_install.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ def skip_marker(f):

@skip_marker
def test_install():
py_version = ['2.6.1', '--type', 'pypy']
py_version = ['3.5.1']
assert invoke('install', *py_version).returncode == 0
py = invoke('locate_python', *py_version).out
check_call([py, '-V'])

@skip_marker
def test_uninstall():
py_version = ['2.6.1', '--type', 'pypy']
py_version = ['3.5.1']
invoke('install', *py_version)
assert invoke('uninstall', *py_version).returncode == 0
assert invoke('locate_python', *py_version).returncode != 0

0 comments on commit c600d1e

Please sign in to comment.