-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support implicit namespaces (PEP 420) #160
Comments
Not sure if it helps, but if you invoke the test runner and pass a specific package name, like
|
@dataflake That's an interesting workaround for running the tests of a single package. The question would be if this could also work when testing an application having multiple packages. |
The |
I stumbled over this too some weeks ago and switched to pytest in my project, forgot to create an issue here... Sorry. |
FEATURE REQUEST
What I did:
Converted
megrok.strictrequire
to a package using a PEP 420 implicit namespace.See zopefoundation/megrok.strictrequire#8
What I expect to happen:
Tests run like before.
What actually happened:
No tests were run because directories without an
__init__.py
are not considered to contain Python code.See
zope.testrunner/src/zope/testrunner/find.py
Lines 295 to 299 in 4f9048a
What version of Python and Zope/Addons I am using:
The text was updated successfully, but these errors were encountered: