-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pygit2 segfault under pytest #3293
Comments
whats the output if the test is not running under pytest? its possible that pygit2 does something that breaks pytests capture mechanism |
@RonnyPfannschmidt I have added the output to the main post |
based on the posted information its unclear whats at fault here |
Ok so |
thanks for following up with the details 👍 |
I have a test that causes a segfault when run with pytest, but doesn't when run by python. It happens when passing an empty temporary directory to
pygit2.Repository
.pip list
of the virtual environment you are usingFile
test_pygit.py
:running under pytest:
running under python, with correct exception:
I'm assuming this is a pytest error since it works when called from Python, but if that's wrong I can file this against pygit2.
The text was updated successfully, but these errors were encountered: