opnsense-ports/sysutils/py-ansible-lint/files/patch-conftest.py
Franco Fichtner ed82f39438 */*: sync with upstream
Taken from: FreeBSD
2023-05-11 14:27:30 +02:00

11 lines
545 B
Python

--- conftest.py.orig 2023-05-09 16:16:59 UTC
+++ conftest.py
@@ -44,7 +44,7 @@ if not HAS_LIBYAML:
# While presence of libyaml is not required for runtime, we keep this error
# fatal here in order to be sure that we spot libyaml errors during testing.
arch = platform.machine()
- if arch not in ("arm64", "x86_64"):
+ if arch not in ("arm64", "amd64"):
warnings.warn(
f"This architecture ({arch}) is not supported by libyaml, performance will be degraded.",
category=pytest.PytestWarning,