You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wouldn't test setup.py at all. It usually is very declarative by nature, and if not, it's fiendishly complex to test as it would require yo to mock away a lot of side-effect laden calls. Instead, if you have to have more complex logic in there (e.g. version extraction from a documentation-file, as I've seen the other day), extract that from setup.py, and develop/test separately. Then import and use.
(for instance to test access to package resources)
The text was updated successfully, but these errors were encountered: