Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Testing error: atexit cleanup functions -> psutils, (isolated example in body) #93
Testing errors with
Alright, I found the cause and a variety of solutions. The cause is best explained in this article: https://briandamaged.org/blog/setuptools-test-command-hates-atexit/ . In summary, the issue is caused specifically by using
There's one detailed in the article.
I posted a very simple solution in a comment (awaiting moderation). You can run the
In some cases: you can manually run the
All these solutions feel very "hackish" and don't help in terms of not forwarding the problem to your end user. I hope there's a good solution to this. If not, maybe some documentation on the issue to help the next guy might be useful.