(pickle_module, request)
| 649 | |
| 650 | @pytest.fixture(params=[True, False]) |
| 651 | def pickle_with_and_without_subtree_filesystem(pickle_module, request): |
| 652 | # When creating a SubTreeFileSystem, the python side object for the base |
| 653 | # filesystem is lost. This makes it a pickling scenario worth testing. |
| 654 | wrap_with_subtree_filesystem = request.param |
| 655 | if wrap_with_subtree_filesystem: |
| 656 | return _PickleModuleSubTreeFileSystemWrapper(pickle_module) |
| 657 | return pickle_module |
| 658 | |
| 659 | |
| 660 | def test_filesystem_pickling(fs, pickle_with_and_without_subtree_filesystem): |
nothing calls this directly
no test coverage detected