TST/BUG: fix 2to3 import rewrite of import pickle by cpcloud · Pull Request #4063 · pandas-dev/pandas (original) (raw)

In pandas.io.pickle the following statement will not allow python to import
anything due to the following rewrite by 2to3

import pickle -> from . import pickle

This makes the import try to import itself ad infinitum and thus fails.

closes #4062