Skip to content

Commit bbff738

Browse files
reshamaspull[bot]
authored andcommitted
namespace consistency for test_dtype.py (#37843)
* namespace consistency for test_dtype.py * namespace inconsistency fix to test_interval.py * reverting changes to test_dtype.py * fix flake8 error * fix Interval change * adding back pd.IntervalDtype
1 parent 90fecaf commit bbff738

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/arithmetic/test_interval.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,6 @@ def test_index_series_compat(self, op, constructor, expected_type, assert_func):
290290
def test_comparison_operations(self, scalars):
291291
# GH #28981
292292
expected = Series([False, False])
293-
s = Series([pd.Interval(0, 1), pd.Interval(1, 2)], dtype="interval")
293+
s = Series([Interval(0, 1), Interval(1, 2)], dtype="interval")
294294
result = s == scalars
295295
tm.assert_series_equal(result, expected)

0 commit comments

Comments
 (0)