skrawcz commented on code in PR #590:
URL: https://github.com/apache/burr/pull/590#discussion_r2464482058


##########
tests/core/test_application.py:
##########
@@ -486,6 +486,52 @@ def test__run_reducer_deletes_state():
     assert "count" not in state
 
 
+def test__validate_reducer_writes_with_state_keys_returning_list():
+    """Tests that _validate_reducer_writes works when state.keys() returns a 
list.
+
+    This is a regression test for a bug where state.keys() could return a list
+    instead of a set, causing a TypeError when trying to do set subtraction.
+    """
+    from burr.core.application import _validate_reducer_writes

Review Comment:
   ugh... slop 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to