Skip to content

Commit bafff39

Browse files
committed
test: adds constant to match expectations of core_deps_from_source
1 parent 9f09980 commit bafff39

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

packages/bigframes/noxfile.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@
6161
"pytest-cov",
6262
"pytest-timeout",
6363
]
64+
UNIT_TEST_EXTERNAL_DEPENDENCIES: List[str] = []
6465
UNIT_TEST_DEPENDENCIES: List[str] = []
6566
UNIT_TEST_EXTRAS: List[str] = ["tests"]
6667
UNIT_TEST_EXTRAS_BY_PYTHON: Dict[str, List[str]] = {
@@ -254,10 +255,14 @@ def run_unit(session, install_test_extra):
254255

255256

256257
@nox.session(python=ALL_PYTHON)
257-
def unit(session):
258+
@nox.parametrize("test_extra", [True, False])
259+
def unit(session, test_extra):
258260
if session.python in ("3.7", "3.8", "3.9"):
259261
session.skip("Python 3.9 and below are not supported")
260-
run_unit(session, install_test_extra=True)
262+
if test_extra:
263+
run_unit(session, install_test_extra=test_extra)
264+
else:
265+
unit_noextras(session)
261266

262267

263268
@nox.session(python=ALL_PYTHON[-1])

0 commit comments

Comments
 (0)