diff --git a/tests/test_cmemcached_regression.py b/tests/test_cmemcached_regression.py index 039a1fbc..908f0978 100644 --- a/tests/test_cmemcached_regression.py +++ b/tests/test_cmemcached_regression.py @@ -39,6 +39,9 @@ class NoPickle(object): def __getattr__(self, name): pass + def __getstate__(self): + raise Exception('can not be pickled') + class CmemcachedRegressionCase(unittest.TestCase):