bin/test.py should be called bin/test
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zope 2 |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Zope3 has bin/test probably because of the same issue. When some test tries to import the 'test' Python standard module, they get back the test script. If we call it ``test``, this problem will be gone.
When running my zope.testbrowser tests I get the following:
Traceback (most recent call last):
File "test_doctests.py", line 19, in ?
File "/home/
from testbrowser import Browser
File "/home/
from zope.testbrowser import testing
File "/home/
from testing import Browser
File "/home/
from zope.testbrowser import browser
File "/home/
from test import pystone
File "/home/
help="""\
File "/usr/lib/
self.
File "/usr/lib/
option)
OptionConflictE
This seems to work well for 'In-Place' instances.