zopefoundation / persistent

automatic persistence for Python objects
https://pypi.org/project/persistent/
Other
46 stars 28 forks source link

is cPickleCache tested? #102

Closed jimfulton closed 5 years ago

jimfulton commented 6 years ago

Looking at the tests in test_picklecache, it looks like they're only testing the Python version.

Am I missing something?

jamadden commented 5 years ago

The C implementation is tested indirectly via persistent.tests.test_persistence.CPersistentTests, but yeah, test_picklecache is missing the necessary subclass to run the explicit tests.

jimfulton commented 5 years ago

Thanks!