Skip to content

Commit 720266c

Browse files
jbrockmendelTLouf
authored andcommitted
Fix 32bit test; follow-up to pandas-dev#41709 (pandas-dev#41746)
1 parent 7d7a428 commit 720266c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/tests/indexes/interval/test_constructors.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -412,8 +412,8 @@ def test_constructor_errors(self, constructor):
412412
with pytest.raises(TypeError, match=msg):
413413
constructor(5)
414414

415-
# not an interval
416-
msg = "type <class 'numpy.int64'> with value 0 is not an interval"
415+
# not an interval; dtype depends on 32bit/windows builds
416+
msg = "type <class 'numpy.int(32|64)'> with value 0 is not an interval"
417417
with pytest.raises(TypeError, match=msg):
418418
constructor([0, 1])
419419

0 commit comments

Comments
 (0)