Skip to content

Pytest GUI not working, but works in terminal #18461

Answered by vdigi00
vdigi00 asked this question in Q&A
Discussion options

You must be logged in to vote

Solved. Called "main()" in test. Corrected to:

if __name__ == '__main__':    
    main()

Reinstalled Python, VSC, and pytest. All repos working as expected.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by vdigi00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants