Skip to content

Commit 3ccd1cd

Browse files
committed
TST: xfail test that checks can_cast() beahvior with pyints
1 parent 9ec97d9 commit 3ccd1cd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

numpy/core/tests/test_numeric.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1416,6 +1416,8 @@ def test_can_cast_structured_to_simple(self):
14161416
assert_(not np.can_cast([('f0', ('i4,i4'), (2,))], 'i4',
14171417
casting='unsafe'))
14181418

1419+
@pytest.mark.xfail(np._get_promotion_state() != "legacy",
1420+
reason="NEP 50: no int/float/complex (yet)")
14191421
def test_can_cast_values(self):
14201422
# gh-5917
14211423
for dt in sctypes['int'] + sctypes['uint']:

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy