File skip_on_other_archs.patch of Package python-nptyping

---
 tests/test_performance.py |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

--- a/tests/test_performance.py
+++ b/tests/test_performance.py
@@ -1,5 +1,6 @@
 from timeit import Timer
-from unittest import TestCase
+import platform
+import unittest
 
 import numpy as np
 
@@ -10,7 +11,9 @@ from nptyping import (
 )
 
 
-class PerformanceTest(TestCase):
+@unittest.skipIf(platform.machine in ('i586', 'aarch64'),
+                 "not supported on this architecture")
+class PerformanceTest(unittest.TestCase):
     def test_instance_check_performance(self):
 
         arr = np.random.randn(42, 42, 3, 5)
openSUSE Build Service is sponsored by