Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upRemove unittest code from non-test code #790
Open
Labels
Comments
Good catch, I absolutely agree! Even though I am pretty sure there was a very good reason to do that at some point in time. With the current state of windows test, for which these dependencies seemingly have been introduced. Maybe @ankostis can provide more context, who did magnificent work a while ago to get windows back into shape. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I see these imports of unittest in
GitPython/git/objects/submodule/base.py
Line 6 in a8591a0
GitPython/git/util.py
Line 17 in f3265bd
I generally think that test code should not be built into the business logic. Is there a reason why using a skipIf decorator is insufficient?