Skip to content

Commit 9e0e3f8

Browse files
author
Sylvain MARIE
committed
Added todo about the warning message
1 parent eba2df7 commit 9e0e3f8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pytest_cases/plugin.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,8 @@ def __getitem__(self, item):
193193
def __setitem__(self, key, value):
194194
# This is called in Pytest 4+.
195195
if self.has_split():
196-
# TODO how should we behave ?
196+
# TODO to take into account the new order, the tree has to be flattened into alternate closures,
197+
# and each of them will then be able to be sorted accordingly
197198
warn("WARNING the new order is not taken into account !!")
198199
else:
199200
self.to_list()[key] = value

0 commit comments

Comments
 (0)