Skip to content

Commit 78bfe0a

Browse files
authored
Merge pull request #4370 from alex/patch-5
Fixes #530 -- delete a test that has been skipped for 5 years
2 parents c40bb11 + 26fe03b commit 78bfe0a

File tree

1 file changed

+1
-29
lines changed

1 file changed

+1
-29
lines changed

tests/functional/test_install_upgrade.py

Lines changed: 1 addition & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,7 @@
44

55
import pytest
66

7-
from tests.lib import (
8-
assert_all_changes, pyversion, _create_test_package,
9-
_change_test_package_version,
10-
)
7+
from tests.lib import assert_all_changes, pyversion
118
from tests.lib.local_repos import local_checkout
129

1310

@@ -314,31 +311,6 @@ def test_uninstall_rollback(script, data):
314311
)
315312

316313

317-
# Issue #530 - temporarily disable flaky test
318-
@pytest.mark.skipif
319-
def test_editable_git_upgrade(script):
320-
"""
321-
Test installing an editable git package from a repository, upgrading the
322-
repository, installing again, and check it gets the newer version
323-
"""
324-
version_pkg_path = _create_test_package(script)
325-
script.pip(
326-
'install', '-e',
327-
'%s#egg=version_pkg' % ('git+file://' + version_pkg_path),
328-
)
329-
version = script.run('version_pkg')
330-
assert '0.1' in version.stdout
331-
_change_test_package_version(script, version_pkg_path)
332-
script.pip(
333-
'install', '-e',
334-
'%s#egg=version_pkg' % ('git+file://' + version_pkg_path),
335-
)
336-
version2 = script.run('version_pkg')
337-
assert 'some different version' in version2.stdout, (
338-
"Output: %s" % (version2.stdout)
339-
)
340-
341-
342314
@pytest.mark.network
343315
def test_should_not_install_always_from_cache(script):
344316
"""

0 commit comments

Comments
 (0)