Skip to content

Commit a02ad33

Browse files
undid a change to where TestData().frame was replaced by tm.makeDataFrame() - will resolve this properly in a follow-up PR
1 parent d2352c7 commit a02ad33

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pandas/tests/frame/test_query_eval.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import pandas as pd
1010
from pandas import DataFrame, Index, MultiIndex, Series, date_range
1111
from pandas.core.computation.check import _NUMEXPR_INSTALLED
12-
import pandas.util.testing as tm
12+
from pandas.tests.frame.common import TestData
1313
from pandas.util.testing import (
1414
assert_frame_equal,
1515
assert_series_equal,
@@ -704,7 +704,7 @@ def setup_class(cls):
704704
super().setup_class()
705705
cls.engine = "numexpr"
706706
cls.parser = "python"
707-
cls.frame = tm.makeDataFrame()
707+
cls.frame = TestData().frame
708708

709709
def test_date_query_no_attribute_access(self):
710710
engine, parser = self.engine, self.parser
@@ -808,7 +808,7 @@ def setup_class(cls):
808808
super().setup_class()
809809
cls.engine = "python"
810810
cls.parser = "pandas"
811-
cls.frame = tm.makeDataFrame()
811+
cls.frame = TestData().frame
812812

813813
def test_query_builtin(self):
814814
engine, parser = self.engine, self.parser
@@ -827,7 +827,7 @@ class TestDataFrameQueryPythonPython(TestDataFrameQueryNumExprPython):
827827
def setup_class(cls):
828828
super().setup_class()
829829
cls.engine = cls.parser = "python"
830-
cls.frame = tm.makeDataFrame()
830+
cls.frame = TestData().frame
831831

832832
def test_query_builtin(self):
833833
engine, parser = self.engine, self.parser

0 commit comments

Comments
 (0)