can not collect test without console, what should I do? #7900
Replies: 2 comments 2 replies
-
What do you mean with "can not collect test cases"? Can you show some code or more details about what you're doing exactly?" |
Beta Was this translation helpful? Give feedback.
-
The description is lacking, but I think I know what this might be about, because at @ESSS we use pyinstaller to package pytest and run tests from a Windows executable. When you create an executable without a Console, pytest will break with the default capture method because there's no (Again this is a shot in the dark, might be about something completely different). |
Beta Was this translation helpful? Give feedback.
-
I used pyinstaller to package my program, with "-w" option.
program run but can not collect test cases.
If i package my program without "-w" option, it works.
And i don't want a console , what should i do?
Beta Was this translation helpful? Give feedback.
All reactions