Skip to content
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

Use existing blobs in test_patch; Make create_from args optional #753

Merged
merged 1 commit into from
Dec 4, 2017
Merged

Use existing blobs in test_patch; Make create_from args optional #753

merged 1 commit into from
Dec 4, 2017

Conversation

brandonio21
Copy link
Contributor

Fixes #748

For some reason, when using repo.create_blob(CONTENT) in the test cases, tests failed (as reported in the issue) on some machines (Did not fail on my Mac OS machine, Did not fail on AppVeyor Windows machines, Did fail on my CentOS machine).

I have no idea why that is. Perhaps I was doing something wrong.. perhaps there is something wrong with create_blob. I will create a followup issue to track it.

In any case, this PR fixes the issue by using the already existing repo blobs for the test cases. Further, after learning more about pygit2, I switched create_from to take optional params.

I think that 0.26.3 should be released after this PR is merged since 0.26.2 tests are broken for some users..

@jdavid jdavid merged commit a96da22 into libgit2:master Dec 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Test failures with new 0.26.2 release
2 participants