pandas/tests/sparse/test_array.py:568: in _check_roundtrip unpickled = tm.round_trip_pickle(obj) pandas/util/testing.py:108: in round_trip_pickle pd.to_pickle(obj, path) pandas/io/pickle.py:45: in to_pickle pkl.dump(obj, f, protocol=protocol) ../pypy/lib_pypy/cPickle.py:124: in dump Pickler(file, protocol).dump(obj) ../pypy/lib-python/2.7/pickle.py:224: in dump self.save(obj) ../pypy/lib-python/2.7/pickle.py:331: in save self.save_reduce(obj=obj, *rv) ../pypy/lib-python/2.7/pickle.py:427: in save_reduce save(state) ../pypy/lib-python/2.7/pickle.py:286: in save f(self, obj) # Call unbound method with explicit self ../pypy/lib-python/2.7/pickle.py:556: in save_tuple save(element) ../pypy/lib-python/2.7/pickle.py:286: in save f(self, obj) # Call unbound method with explicit self ../pypy/lib-python/2.7/pickle.py:556: in save_tuple save(element) ../pypy/lib-python/2.7/pickle.py:331: in save self.save_reduce(obj=obj, *rv) ../pypy/lib-python/2.7/pickle.py:402: in save_reduce save(func) ../pypy/lib-python/2.7/pickle.py:286: in save f(self, obj) # Call unbound method with explicit self _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = obj = , name = '_libs.sparse.IntIndex' pack = def save_global(self, obj, name=None, pack=struct.pack): write = self.write memo = self.memo if name is None: name = obj.__name__ module = getattr(obj, "__module__", None) if module is None: module = whichmodule(obj, name) try: __import__(module) mod = sys.modules[module] klass = getattr(mod, name) except (ImportError, KeyError, AttributeError): raise PicklingError( "Can't pickle %r: it's not found as %s.%s" % > (obj, module, name)) E PicklingError: Can't pickle : it's not found as pandas._libs.sparse.IntIndex ../pypy/lib-python/2.7/pickle.py:800: PicklingError _________________________ TestSparseSeries.test_pickle _______________