-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Closed
Labels
topic: rewriterelated to the assertion rewrite mechanismrelated to the assertion rewrite mechanismtype: bugproblem that needs to be addressedproblem that needs to be addressed
Description
Running PyTest with files including ZODB gives an odd problem: ZODB can be imported, but its component FileSystem cannot.
import ZODB # That works fine.
import ZODB.FileStorage
ImportError: No module named FileStorage
On the other hand, running the same code from the Python interpreter runs fine.
This is version PyTest version 3.2.2, Python 2.7.13, and ZODB 5.2.4
There exists ZODB-5.2.4-py2.7.egg/ZODB/FileStorage/init.py, a ZODB.pth pointing to the egg, and no other modules have issues; just any submodule of ZODB. No odd permission errors. After an hour of experiments and exercising Google-Fu, I got nothing.
Any workaround would be appreciated.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
topic: rewriterelated to the assertion rewrite mechanismrelated to the assertion rewrite mechanismtype: bugproblem that needs to be addressedproblem that needs to be addressed