@@ -163,7 +163,7 @@ def test_subset_column_slice(
163
163
assert not np .shares_memory (get_array (subset , "b" ), get_array (df , "b" ))
164
164
else :
165
165
# we only get a warning in case of a single block
166
- # TODO
166
+ # TODO(CoW-warn) should warn
167
167
warn = (
168
168
SettingWithCopyWarning
169
169
if (single_block and not warn_copy_on_write )
@@ -326,7 +326,7 @@ def test_subset_set_with_row_indexer(
326
326
):
327
327
pytest .skip ("setitem with labels selects on columns" )
328
328
329
- # TODO
329
+ # TODO(CoW-warn) should warn
330
330
if using_copy_on_write or warn_copy_on_write :
331
331
indexer_si (subset )[indexer ] = 0
332
332
else :
@@ -358,7 +358,7 @@ def test_subset_set_with_mask(backend, using_copy_on_write, warn_copy_on_write):
358
358
359
359
mask = subset > 3
360
360
361
- # TODO
361
+ # TODO(CoW-warn) should warn
362
362
if using_copy_on_write or warn_copy_on_write :
363
363
subset [mask ] = 0
364
364
else :
@@ -392,7 +392,7 @@ def test_subset_set_column(backend, using_copy_on_write, warn_copy_on_write):
392
392
else :
393
393
arr = pd .array ([10 , 11 ], dtype = "Int64" )
394
394
395
- # TODO
395
+ # TODO(CoW-warn) should warn
396
396
if using_copy_on_write or warn_copy_on_write :
397
397
subset ["a" ] = arr
398
398
else :
@@ -493,7 +493,7 @@ def test_subset_set_columns(backend, using_copy_on_write, warn_copy_on_write, dt
493
493
df_orig = df .copy ()
494
494
subset = df [1 :3 ]
495
495
496
- # TODO
496
+ # TODO(CoW-warn) should warn
497
497
if using_copy_on_write or warn_copy_on_write :
498
498
subset [["a" , "c" ]] = 0
499
499
else :
@@ -1004,7 +1004,7 @@ def test_column_as_series_no_item_cache(
1004
1004
else :
1005
1005
assert s1 is s2
1006
1006
1007
- # TODO
1007
+ # TODO(CoW-warn) should warn
1008
1008
if using_copy_on_write or warn_copy_on_write or using_array_manager :
1009
1009
s1 .iloc [0 ] = 0
1010
1010
else :
0 commit comments