diff --git a/pandas/tests/indexes/interval/test_constructors.py b/pandas/tests/indexes/interval/test_constructors.py index 65ae904d1083a..b4012c6a842a6 100644 --- a/pandas/tests/indexes/interval/test_constructors.py +++ b/pandas/tests/indexes/interval/test_constructors.py @@ -412,8 +412,8 @@ def test_constructor_errors(self, constructor): with pytest.raises(TypeError, match=msg): constructor(5) - # not an interval - msg = "type with value 0 is not an interval" + # not an interval; dtype depends on 32bit/windows builds + msg = "type with value 0 is not an interval" with pytest.raises(TypeError, match=msg): constructor([0, 1])