summaryrefslogtreecommitdiff
path: root/sysutils/py-ansible-lint/files/patch-conftest.py
blob: 2a26b6a13fabe383a2ebfd60dbf2f87b023c8b6b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- 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,