File tree Expand file tree Collapse file tree
synthtool/gcp/templates/python_library Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -128,7 +128,8 @@ def lint_setup_py(session):
128128
129129
130130def install_unittest_dependencies(session, *constraints):
131- session.install(*UNIT_TEST_STANDARD_DEPENDENCIES, *constraints)
131+ standard_deps = UNIT_TEST_STANDARD_DEPENDENCIES + UNIT_TEST_DEPENDENCIES
132+ session.install(*standard_deps, *constraints)
132133
133134 if UNIT_TEST_EXTERNAL_DEPENDENCIES:
134135 warnings.warn(
@@ -141,9 +142,6 @@ def install_unittest_dependencies(session, *constraints):
141142 if UNIT_TEST_LOCAL_DEPENDENCIES:
142143 session.install(*UNIT_TEST_LOCAL_DEPENDENCIES, *constraints)
143144
144- if UNIT_TEST_DEPENDENCIES:
145- session.install(*UNIT_TEST_DEPENDENCIES, *constraints)
146-
147145 if UNIT_TEST_EXTRAS_BY_PYTHON:
148146 extras = UNIT_TEST_EXTRAS_BY_PYTHON.get(session.python, [])
149147 elif UNIT_TEST_EXTRAS:
You can’t perform that action at this time.
0 commit comments