We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce8fa9c commit de1373eCopy full SHA for de1373e
pandas/tests/dtypes/test_concat.py
@@ -90,11 +90,12 @@ def test_concat_mismatched_categoricals_with_empty():
90
tm.assert_categorical_equal(result, expected)
91
92
93
-def test_no_tz_concat_without_copy():
+@pytest.mark.parametrize("_COPY_", [True, False])
94
+def test_no_tz_concat_without_copy(_COPY_):
95
# This will raise a ValueError issue if it fails
96
# Regression test for issue 25257
97
df = pd.DataFrame({'timestamp': [pd.Timestamp('2020-04-08 09:00:00.709949+0000',
98
tz='UTC')], })
- result = pd.concat([df], copy=False)
99
+ result = pd.concat([df], copy=_COPY_)
100
expected = df
101
tm.assert_frame_equal(result, expected)
0 commit comments