Skip to content

Commit 428db25

Browse files
committed
T1.27: the numpy-text test's old route only where the engine is installed
CI's test and installed-wheel jobs install no relational engine, so the old route's parameter of test_a_key_and_a_time_column_given_as_numpy_text_are_kept_as_given raised MissingExtraError there (run 38287905988); the route is parametrized only where the engine is installed, as the module's other old-route checks are, and runs in the engine job. Signed-off-by: Adi Wadaskar <awadaskar@nvidia.com>
1 parent 0596076 commit 428db25

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎packages/structured-data-models-client/tests/test_the_schema_edits.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,8 @@ def test_a_meaning_given_as_a_stype_is_kept_as_given(
269269
assert schema['orders']['user_id'].stype is Stype.categorical
270270

271271

272-
@pytest.mark.parametrize('route', ['core', 'old'])
272+
# The old route only where the relational engine is installed.
273+
@pytest.mark.parametrize('route', ('core', 'old') if ENGINE else ('core',))
273274
def test_a_key_and_a_time_column_given_as_numpy_text_are_kept_as_given(
274275
route: str, monkeypatch: pytest.MonkeyPatch
275276
) -> None:

0 commit comments

Comments
 (0)