summaryrefslogtreecommitdiff
path: root/setuptools
diff options
context:
space:
mode:
authorAnderson Bravalheri <andersonbravalheri+github@gmail.com>2022-03-14 10:46:17 +0000
committerAnderson Bravalheri <andersonbravalheri@gmail.com>2022-03-14 10:59:25 +0000
commit8aa366d568b67339f04ca538c6fb11aad6ad1c91 (patch)
tree5dca90336ecad85281a531c66950a26b63415cb0 /setuptools
parent8122993a053444e9a68cc007ea58a417b5ae44a9 (diff)
downloadpython-setuptools-git-8aa366d568b67339f04ca538c6fb11aad6ad1c91.tar.gz
Update setuptools/tests/test_wheel.py
Attempt to fix flake8
Diffstat (limited to 'setuptools')
-rw-r--r--setuptools/tests/test_wheel.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/setuptools/tests/test_wheel.py b/setuptools/tests/test_wheel.py
index c83abb62..293e8262 100644
--- a/setuptools/tests/test_wheel.py
+++ b/setuptools/tests/test_wheel.py
@@ -695,6 +695,7 @@ def test_wheel_mode():
install_tree, project_name,
version, None)
w = Wheel(filename)
- script_sh = pathlib.Path(install_dir) / w.egg_name() / "EGG-INFO" / "scripts" / "script.sh"
+ base = pathlib.Path(install_dir) / w.egg_name()
+ script_sh = base / "EGG-INFO" / "scripts" / "script.sh"
assert script_sh.exists()
assert oct(stat.S_IMODE(script_sh.stat().st_mode)) == "0o777"