Skip to content

Commit e6e76ba

Browse files
authored
Nox: use inplace installs (#5865)
1 parent a5e4a2d commit e6e76ba

File tree

1 file changed

+4
-2
lines changed
  • packages/google-cloud-redis

1 file changed

+4
-2
lines changed

packages/google-cloud-redis/nox.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,10 @@ def default(session):
3434
Python corresponding to the ``nox`` binary the ``PATH`` can
3535
run the tests.
3636
"""
37-
# Install all test dependencies, then install this package in-place.
38-
session.install('mock', 'pytest', 'pytest-cov', *LOCAL_DEPS)
37+
# Install all test dependencies, then install local packages in-place.
38+
session.install('mock', 'pytest', 'pytest-cov')
39+
for local_dep in LOCAL_DEPS:
40+
session.install('-e', local_dep)
3941
session.install('-e', '.')
4042

4143
# Run py.test against the unit tests.

0 commit comments

Comments
 (0)