_pythonpath only sometimes importable in tests
Bug #737497 reported by
Jonathan Lange
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Triaged
|
High
|
Unassigned |
Bug Description
If you write a test like this::
class TestSomething(
def test_a_thing(self):
import _pythonpath
And run it by itself, it will fail, being unable to import _pythonpath. However, there are tests in the Launchpad test suite (notably, lp.services.
Changed in launchpad: | |
importance: | Undecided → High |
To post a comment you must log in.
Some debugging notes:
* This appears to be unrelated to bug 505913 ocess and running the test after a layer that cannot be torn down and nothing seems to affect importing _pythonpath
* As best as I can tell, this is nothing to do with zope.testing's knack of running much of the suite in subprocesses. I've tried various combinations of ZopeTestInSubPr