Skip to content

Commit 1d69d79

Browse files
authored
Fix 32bit test; follow-up to #41709 (#41746)
1 parent fb4c5b8 commit 1d69d79

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)