Open sporto opened 2 years ago
Can you please provide:
green -V
green -V Green 3.4.1, Coverage 6.3.2, Python 3.9.12
I tried this in PopOS (Ubuntu 21.10) and MacOS (Intel mac) with the same result.
This only happens when you try to run one test. e.g. green test/test_x.py
If I try to run the whole test suite it shows the proper error.
This only happens when you try to run one test. e.g.
green test/test_x.py
If I try to run the whole test suite it shows the proper error.
Ah! That's extremely helpful information, thanks!
FYI, I spent a couple hours looking into this, and it's quite tricky to fix without breaking other features. I plan to take another look at it sometime.
I had a file with:
Note that
typings
is an invalid import. It should betyping
Trying to run green I got:
The error doesn't give a hint of what the issue is.
Then I tried pytest:
Note
ModuleNotFoundError: No module named 'typings'
Would be great if green could show the error.
Thanks