Skip to content

Commit 4d26707

Browse files
committed
fixup replace ruamel with pyyaml
1 parent 6bb3fa4 commit 4d26707

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
import packaging.requirements
1313
import packaging.utils
1414
import pytest
15-
import ruamel.yaml
15+
import yaml
1616

1717
from tests import PROJECT_ROOT, manifests
1818

@@ -79,7 +79,7 @@ def test_image_pyprojects(subtests: pytest_subtests.plugin.SubTests):
7979
f"Computed filepath '{manifest_file}' does not exist."
8080
)
8181

82-
imagestream = ruamel.yaml.YAML().load(manifest_file.read_text())
82+
imagestream = yaml.safe_load(manifest_file.read_text())
8383
recommended_tags = [
8484
tag
8585
for tag in imagestream["spec"]["tags"]

0 commit comments

Comments
 (0)