schema_salad.tests.test_pickling
================================

.. py:module:: schema_salad.tests.test_pickling

.. autoapi-nested-parse::

   Tests to ensure that mypyc compiled classes are still pickleable.

   See https://mypyc.readthedocs.io/en/latest/differences_from_python.html#pickling-and-copying-objects



Functions
---------

.. autoapisummary::

   schema_salad.tests.test_pickling.test_recordschema_pickle
   schema_salad.tests.test_pickling.test_loader_pickle
   schema_salad.tests.test_pickling.test_extend_and_specialize_enums


Module Contents
---------------

.. py:function:: test_recordschema_pickle()

   Targeted test of pickling a RecordSchema.


.. py:function:: test_loader_pickle()

   Pickle a Loader.


.. py:function:: test_extend_and_specialize_enums(tmp_path)

