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

In python3, test packages can not find testcase #1105

Open
landhu opened this issue Feb 7, 2020 · 1 comment
Open

In python3, test packages can not find testcase #1105

landhu opened this issue Feb 7, 2020 · 1 comment

Comments

@landhu
Copy link

landhu commented Feb 7, 2020

Like this:
testcase
|---- init.py
|---- test_bb.py

test_bb.py file is:
def test_qq():
pass

In python 3.8:
nosetests testcase:
Ran 0 tests in xxx
OK

In python 2:
this ok ,can run 1 tests

why??????

@SKYnv
Copy link

SKYnv commented Feb 23, 2021

init.py?
@landhu

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