-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
warn about invalid test module names #1426
Labels
good first issue
easy issue that is friendly to new contributor
topic: collection
related to the collection phase
topic: reporting
related to terminal output and user-facing messages and errors
Comments
Note you won't be able to import that file (i.e. using |
this is not a bug, tests are imported, and dots are not valid in importable module names we should warn about that however |
RonnyPfannschmidt
added
topic: reporting
related to terminal output and user-facing messages and errors
good first issue
easy issue that is friendly to new contributor
topic: collection
related to the collection phase
labels
Mar 2, 2016
RonnyPfannschmidt
changed the title
Dot in filename: ImportError: No module named app.Settings
warn about invalid test module names
Mar 2, 2016
4 tasks
Just be careful to allow for PEP 3149 |
thanks for the warning, i don't think that pep affects us - since the abi tags are not part of a module name |
This was referenced Aug 24, 2016
This was referenced Nov 15, 2017
Merged
This was referenced Nov 27, 2017
This was referenced Dec 6, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
good first issue
easy issue that is friendly to new contributor
topic: collection
related to the collection phase
topic: reporting
related to terminal output and user-facing messages and errors
PyTest throws import errors when there are dots in my files:
Scripts run fine when executed from command line:
It is only PyTest having problems running them.
Python 2.7 32-bit.
OS: Win7 Pro SP1
The text was updated successfully, but these errors were encountered: