MCPcopy
hub / github.com/celery/celery / test_pickleable

Method test_pickleable

t/unit/backends/test_filesystem.py:95–97  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

93
94 @pytest.mark.usefixtures('depends_on_current_app')
95 def test_pickleable(self):
96 tb = FilesystemBackend(app=self.app, url=self.url, serializer='pickle')
97 assert pickle.loads(pickle.dumps(tb))
98
99 @pytest.mark.skipif(sys.platform == 'win32', reason='Test can fail on '
100 'Windows/FAT due to low granularity of st_mtime')

Callers

nothing calls this directly

Calls 1

FilesystemBackendClass · 0.90

Tested by

no test coverage detected