Skip to content

Commit

Permalink
Test cloudpickle_register
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-janssen committed Nov 15, 2024
1 parent 8a06907 commit 72f8f50
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/test_serialize.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import unittest
from executorlib.standalone.serialize import cloudpickle_register


class TestCloudPickleRegister(unittest.TestCase):
def test_index_error(self):
with self.assertRaises(RecursionError):
cloudpickle_register(ind=-20)

0 comments on commit 72f8f50

Please sign in to comment.