Skip to content

Commit b5a3735

Browse files
committed
Use a predefined fixture function for tz parameterization thanks to @mroeschke
1 parent 43b42d5 commit b5a3735

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/tests/groupby/test_groupby.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1884,7 +1884,6 @@ def test_groupby_axis_1(group_name):
18841884
assert_frame_equal(results, expected)
18851885

18861886

1887-
@pytest.mark.parametrize("tz", [None, "Asia/Tokyo"])
18881887
@pytest.mark.parametrize(
18891888
"op, expected",
18901889
[
@@ -1929,8 +1928,9 @@ def test_groupby_axis_1(group_name):
19291928
),
19301929
],
19311930
)
1932-
def test_shift_bfill_ffill_tz(tz, op, expected):
1931+
def test_shift_bfill_ffill_tz(tz_naive_fixture, op, expected):
19331932
# GH27992: Check that timezone does not drop in shift, bfill, and ffill
1933+
tz = tz_naive_fixture
19341934
data = {
19351935
"id": ["A", "B", "A", "B", "A", "B"],
19361936
"time": [

0 commit comments

Comments
 (0)