r/pythonhelp • • 11h ago

Test code very broken with os lib

https://github.com/jacobrinaldi/mkcmd/blob/main/tests/testMain.py

I making a tool and i wanted to make it much more lightweight while still being coded in python but this just breaks i was told be some to remove global in my if statements but that didnt help.

0 Upvotes

5 comments sorted by

View all comments

•

u/AutoModerator 11h ago

To give us the best chance to help you, please include any relevant code.
Note. Please do not submit images of your code. Instead, for shorter code you can use Reddit markdown (4 spaces or backticks, see this Formatting Guide). If you have formatting issues or want to post longer sections of code, please use Privatebin, GitHub or Compiler Explorer.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.