Skip to content
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

test.py error #249

Open
wwwmmmqqq opened this issue Nov 23, 2020 · 1 comment
Open

test.py error #249

wwwmmmqqq opened this issue Nov 23, 2020 · 1 comment

Comments

@wwwmmmqqq
Copy link

Why can not i run test.py directly。It is runing 'pytest' in 'test.py'

@kubitz
Copy link

kubitz commented Dec 27, 2020

It might be because you have a pytest installed and it assumes test.py is a test file and run it as such. Try renaming test.py to another name (e.g. demo.py) and see you still cannot run it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants