Skip to content

Commit e68b71b

Browse files
authored
Apply suggestions from code review
1 parent 381a826 commit e68b71b

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

tests/functional/test_install.py

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -852,24 +852,18 @@ def test_install_package_with_target(script):
852852
"""
853853
target_dir = script.scratch_path / 'target'
854854
result = script.pip_install_local('-t', target_dir, "simple==1.0")
855-
result.did_create(
856-
Path('scratch') / 'target' / 'simple'
857-
)
855+
result.did_create(Path('scratch') / 'target' / 'simple')
858856

859857
# Test repeated call without --upgrade, no files should have changed
860858
result = script.pip_install_local(
861859
'-t', target_dir, "simple==1.0", expect_stderr=True,
862860
)
863-
result.did_not_update(
864-
Path('scratch') / 'target' / 'simple'
865-
)
861+
result.did_not_update(Path('scratch') / 'target' / 'simple')
866862

867863
# Test upgrade call, check that new version is installed
868864
result = script.pip_install_local('--upgrade', '-t',
869865
target_dir, "simple==2.0")
870-
result.did_update(
871-
Path('scratch') / 'target' / 'simple'
872-
)
866+
result.did_update(Path('scratch') / 'target' / 'simple')
873867
egg_folder = (
874868
Path('scratch') / 'target' /
875869
'simple-2.0-py{pyversion}.egg-info'.format(**globals()))

0 commit comments

Comments
 (0)