Make smoke tests not do cross checking
Some unit tests also contain integration-like tests that should not be run when smoke testing
This commit is contained in:
parent
bfbbbd01e4
commit
81bbd4ac0f
2 changed files with 1 additions and 1 deletions
|
@ -357,6 +357,7 @@ def test_fast(session: nox.Session) -> None:
|
|||
"""
|
||||
# See implementation notes in `pre_commit_test_hook()` below
|
||||
session.env["_smoke_tests_only"] = "true"
|
||||
session.env["NO_CROSS_REFERENCE"] = "true"
|
||||
test(session)
|
||||
|
||||
|
||||
|
|
|
@ -349,7 +349,6 @@ class TestNumericBehavior:
|
|||
"""`one` and `zero` behave like `True` and `False`."""
|
||||
assert (bool(one), bool(zero)) == (True, False)
|
||||
|
||||
@pytest.mark.overlapping_test
|
||||
@pytest.mark.parametrize("obj", [one, zero])
|
||||
def test_get_abs_value(self, obj):
|
||||
"""`abs(one)` and `abs(zero)` are `one` and `zero`."""
|
||||
|
|
Loading…
Reference in a new issue