Fix V3.4 package registration

This commit is contained in:
ukr8b3g-cmyk
2026-08-19 23:05:40 +09:00
parent 0b685b1ed6
commit 84c22ffc09
9 changed files with 402 additions and 131 deletions
+6 -7
View File
@@ -29,10 +29,9 @@ def test_conditioning_mode_matrix(
("has_first", "has_last"),
[(True, False), (False, True), (True, True)],
)
def test_reference_rejects_first_or_last_frame(has_first, has_last):
with pytest.raises(ValueError, match="cannot be combined"):
conditioning_mode_from_presence(
has_first=has_first,
has_last=has_last,
has_reference=True,
)
def test_reference_takes_precedence_over_first_or_last_frame(has_first, has_last):
assert conditioning_mode_from_presence(
has_first=has_first,
has_last=has_last,
has_reference=True,
) == "reference"