Skip to content

Commit de1373e

Browse files
committed
Paramterized Copy-False
1 parent ce8fa9c commit de1373e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pandas/tests/dtypes/test_concat.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,12 @@ def test_concat_mismatched_categoricals_with_empty():
9090
tm.assert_categorical_equal(result, expected)
9191

9292

93-
def test_no_tz_concat_without_copy():
93+
@pytest.mark.parametrize("_COPY_", [True, False])
94+
def test_no_tz_concat_without_copy(_COPY_):
9495
# This will raise a ValueError issue if it fails
9596
# Regression test for issue 25257
9697
df = pd.DataFrame({'timestamp': [pd.Timestamp('2020-04-08 09:00:00.709949+0000',
9798
tz='UTC')], })
98-
result = pd.concat([df], copy=False)
99+
result = pd.concat([df], copy=_COPY_)
99100
expected = df
100101
tm.assert_frame_equal(result, expected)

0 commit comments

Comments
 (0)