On 05/02/2025 19.25, Richard Henderson wrote:
On 2/5/25 08:53, Daniel P. Berrangé wrote:
+Decorator to skip execution of a test on 32-bit targets
+Example:
+
+  @skipIf32BitTarget()
+'''
+def skipIf32BitTarget():
+    enoughBits = sys.maxsize > 2**32
+    return skipUnless(enoughBits,
+                      'Test requires a host with 64-bit address space')

skipIf32BitHost?

I don't mind either way.

Definitely host.

+1 for host. Otherwise this gets confused with "qemu-system-i386" etc.

 Thomas


Reply via email to