Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 808179e commit e5fd7b7Copy full SHA for e5fd7b7
test/test_docs.py
@@ -393,7 +393,8 @@ def test_references_and_objects(self, rw_dir):
393
origin.rename('new_origin')
394
# push and pull behaves similarly to `git push|pull`
395
origin.pull()
396
- origin.push()
+ origin.push() # attempt push, ignore errors
397
+ origin.push().raise_if_error() # push and raise error if it fails
398
# assert not empty_repo.delete_remote(origin).exists() # create and delete remotes
399
# ![25-test_references_and_objects]
400
0 commit comments