GitPython causes AttributeError: 'FakePipeWrapper' object has no attribute 'closed'
#857
Replies: 3 comments
-
Thanks for the report! |
Beta Was this translation helpful? Give feedback.
-
Right. Then I guess fixing this won't give us much as I expect To close this issue, we could add Do you have any other idea how to test interaction with git repositories without actually accessing the file system? |
Beta Was this translation helpful? Give feedback.
-
I had another look, and I currently see no possibility to use this with pyfakefs - added a note in the documentation as proposed. |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
If I am writing functions that interact with a git repository, I usually use GitPython.
To test these function,
pyfakefs
would be great.So far, it seems that it is not supported.
Additionally, it is not listed in https://jmcgeheeiv.github.io/pyfakefs/master/usage.html#modules-not-working-with-pyfakefs
MWE and stacktrace below
How To Reproduce
Please provide a unit test or a minimal code snippet that reproduces the
problem.
Your environment
Beta Was this translation helpful? Give feedback.
All reactions