@@ -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
4042 # Pyarrow does not support Python 3.7
4143 if session .interpreter == 'python3.7' :
@@ -97,13 +99,12 @@ def system(session, py):
9799 # Use pre-release gRPC for system tests.
98100 session .install ('--pre' , 'grpcio' )
99101
100- # Install all test dependencies, then install this package into the
101- # virtualenv's dist-packages.
102- session .install ('mock' , 'pytest' , * LOCAL_DEPS )
103- session .install (
104- os .path .join ('..' , 'storage' ),
105- os .path .join ('..' , 'test_utils' ),
106- )
102+ # Install all test dependencies, then install local packages in place.
103+ session .install ('mock' , 'pytest' )
104+ for local_dep in LOCAL_DEPS :
105+ session .install ('-e' , local_dep )
106+ session .install ('-e' , os .path .join ('..' , 'storage' ))
107+ session .install ('-e' , os .path .join ('..' , 'test_utils' ))
107108 session .install ('-e' , '.[pandas]' )
108109
109110 # IPython does not support Python 2 after version 5.x
@@ -136,13 +137,12 @@ def snippets(session, py):
136137 # Set the virtualenv dirname.
137138 session .virtualenv_dirname = 'snip-' + py
138139
139- # Install all test dependencies, then install this package into the
140- # virtualenv's dist-packages.
141- session .install ('mock' , 'pytest' , * LOCAL_DEPS )
142- session .install (
143- os .path .join ('..' , 'storage' ),
144- os .path .join ('..' , 'test_utils' ),
145- )
140+ # Install all test dependencies, then install local packages in place.
141+ session .install ('mock' , 'pytest' )
142+ for local_dep in LOCAL_DEPS :
143+ session .install ('-e' , local_dep )
144+ session .install ('-e' , os .path .join ('..' , 'storage' ))
145+ session .install ('-e' , os .path .join ('..' , 'test_utils' ))
146146 session .install ('-e' , '.[pandas, pyarrow]' )
147147
148148 # Run py.test against the system tests.
0 commit comments