Skip to content

Commit 2ea8ab0

Browse files
authored
Update test_utils.py
Signed-off-by: rohankaf <[email protected]>
1 parent 40455cb commit 2ea8ab0

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

tests/test_utils.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,8 @@ def attach_schema(comp: Component, version: SchemaVersion):
1313
comp._bom = bom
1414

1515

16-
# -------------------------------
17-
# Legacy behavior (< 1.7)
18-
# -------------------------------
16+
17+
1918

2019
def test_legacy_single_expression_no_change():
2120
comp = Component(name="c", licenses=(LicenseExpression("MIT"),))
@@ -64,9 +63,7 @@ def test_legacy_empty_licenses_no_change():
6463
assert comp.evidence is None
6564

6665

67-
# -------------------------------
68-
# Modern behavior (>= 1.7)
69-
# -------------------------------
66+
7067

7168
def test_modern_no_fixup_mixed_is_untouched():
7269
comp = Component(

0 commit comments

Comments
 (0)