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 699e223 commit 63f4ca3Copy full SHA for 63f4ca3
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