Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
benedikt-bartscher committed Oct 31, 2024
1 parent 9bcb1c0 commit 909ed8c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions tests/units/test_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -3400,11 +3400,6 @@ class DillState(BaseState):
assert isinstance(unpickled_state2._g, type(threading.Lock()))

# Some object, like generator, are still unpicklable with dill.
state._g = (i for i in range(10))
pk = state._serialize()
assert len(pk) == 0
with pytest.raises(EOFError):
BaseState._deserialize(pk)
state3 = DillState(_reflex_internal_init=True) # type: ignore
state3._g = (i for i in range(10))
pk3 = state3._serialize()
Expand Down

0 comments on commit 909ed8c

Please sign in to comment.