From 4ae2cf5ea5e12f23580b9419d0e1ef5ab7c91de4 Mon Sep 17 00:00:00 2001 From: Thomas Li <47963215+lithomas1@users.noreply.github.com> Date: Mon, 14 Jun 2021 09:31:45 -0700 Subject: [PATCH] Backport PR #41987: TST: Un-xfail tests on numpy-dev --- pandas/tests/frame/methods/test_to_records.py | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/pandas/tests/frame/methods/test_to_records.py b/pandas/tests/frame/methods/test_to_records.py index 0b710d7ebf7d7..e83882be9c680 100644 --- a/pandas/tests/frame/methods/test_to_records.py +++ b/pandas/tests/frame/methods/test_to_records.py @@ -3,8 +3,6 @@ import numpy as np import pytest -from pandas.compat.numpy import is_numpy_dev - from pandas import ( CategoricalDtype, DataFrame, @@ -164,28 +162,20 @@ def test_to_records_with_categorical(self): ), ), # Pass in a type instance. - pytest.param( + ( {"column_dtypes": str}, np.rec.array( [("0", "1", "0.2", "a"), ("1", "2", "1.5", "bc")], dtype=[("index", "