loki.tests.test_pickle
A set of tests that ensures that serialisation/deserialisation via pickle works and creates equivalent objects of various types.
Functions
Ensure pickle-replication of Pymbolic-backed expressions. |
|
|
Ensure that serialisation/deserialisation via pickling works as expected. |
|
Ensure that |
|
Ensure that a type definition in a module is pickle-safe. |
|
Test that |
|
Ensure that |
|
Ensure that |
- fixture_here()
- test_pickle_expression()
Ensure pickle-replication of Pymbolic-backed expressions.
- test_pickle_subroutine(frontend)
Ensure that
Subroutine
and its components are picklable.
- test_pickle_module(frontend, tmp_path)
Ensure that serialisation/deserialisation via pickling works as expected.
- test_pickle_module_with_typedef(frontend, tmp_path)
Ensure that a type definition in a module is pickle-safe.
- test_pickle_subroutine_with_member(frontend)
Ensure that
Subroutine
and its components are picklable.