8000 Merge pull request #26602 from JuliaPoo/issue-24732-einsum-x86-bug · mathomp4/numpy@8207e5c · GitHub
[go: up one dir, main page]

Skip to content

Commit 8207e5c

Browse files
authored
Merge pull request numpy#26602 from JuliaPoo/issue-24732-einsum-x86-bug
TST: Re-enable int8/uint8 einsum tests
2 parents 29409dc + 731fd5f commit 8207e5c

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

numpy/_core/tests/test_einsum.py

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,6 @@
1010
assert_raises, suppress_warnings, assert_raises_regex, assert_allclose
1111
)
1212

13-
try:
14-
COMPILERS = np.show_config(mode="dicts")["Compilers"]
15-
USING_CLANG_CL = COMPILERS["c"]["name"] == "clang-cl"
16-
except TypeError:
17-
USING_CLANG_CL = False
18-
1913
# Setup for optimize einsum
2014
chars = 'abcdefghij'
2115
sizes = np.array([2, 3, 4, 5, 4, 3, 2, 6, 5, 4, 3])
@@ -621,23 +615,9 @@ def check_einsum_sums(self, dtype, do_opt=False):
621615
[2.]) # contig_stride0_outstride0_two
622616

623617
def test_einsum_sums_int8(self):
624-
if (
625-
(sys.platform == 'darwin' and platform.machine() == 'x86_64')
626-
or
627-
USING_CLANG_CL
628-
):
629-
pytest.xfail('Fails on macOS x86-64 and when using clang-cl '
630-
'with Meson, see gh-23838')
631618
self.check_einsum_sums('i1')
632619

633620
def test_einsum_sums_uint8(self):
634-
if (
635-
(sys.platform == 'darwin' and platform.machine() == 'x86_64')
636-
or
637-
USING_CLANG_CL
638-
):
639-
pytest.xfail('Fails on macOS x86-64 and when using clang-cl '
640-
'with Meson, see gh-23838')
641621
self.check_einsum_sums('u1')
642622

643623
def test_einsum_sums_int16(self):

0 commit comments

Comments
 (0)
0