We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6056213 commit 8a59494Copy full SHA for 8a59494
array_api_tests/conftest.py
@@ -0,0 +1,17 @@
1
+import re
2
+
3
+import pytest
4
5
+r_int_pow_promotion = re.compile(r"test.+promotion\[.*pow.*\(u?int.+\]")
6
7
8
+def pytest_collection_modifyitems(config, items):
9
+ """Skips the faulty integer type promotion tests for pow-related functions"""
10
+ for item in items:
11
+ print(item.name)
12
+ if r_int_pow_promotion.match(item.name):
13
+ item.add_marker(
14
+ pytest.mark.skip(
15
+ reason="faulty test logic - negative exponents generated"
16
+ )
17
0 commit comments