[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
1f4bed5b35
commit
4dfcdeb156
1 changed files with 6 additions and 2 deletions
|
|
@ -54,8 +54,12 @@ def test_ceiling_blocks_inflated_versions() -> None:
|
|||
assert spec.contains("0.12.0"), "the current vetted release must resolve"
|
||||
assert not spec.contains("0.999.0"), "an inflated 0.x must be blocked"
|
||||
assert not spec.contains("1.0.0"), "a new major must not be auto-installed"
|
||||
assert not spec.contains("0.12.1"), "a higher in-range patch must be blocked (cap to the vetted patch)"
|
||||
assert not spec.contains("0.12.999"), "a crafted higher in-range patch (e.g. on a mirror) must be blocked"
|
||||
assert not spec.contains(
|
||||
"0.12.1"
|
||||
), "a higher in-range patch must be blocked (cap to the vetted patch)"
|
||||
assert not spec.contains(
|
||||
"0.12.999"
|
||||
), "a crafted higher in-range patch (e.g. on a mirror) must be blocked"
|
||||
|
||||
|
||||
def test_floor_stays_compatible_with_supported_torch() -> None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue