aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/doctests/test_GitVfs.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/doctests/test_GitVfs.py')
-rw-r--r--tests/doctests/test_GitVfs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/doctests/test_GitVfs.py b/tests/doctests/test_GitVfs.py
index 16501e49..4c498667 100644
--- a/tests/doctests/test_GitVfs.py
+++ b/tests/doctests/test_GitVfs.py
@@ -53,7 +53,7 @@ def test_read():
>>> gf.close()
>>> gbp.git.vfs.GitVfs(repo, 'HEAD').open('foo.txt').read() == content.decode()
True
- >>> gf = vfs.open('doesnotexist')
+ >>> gf = vfs.open('doesnotexist') # doctest:+IGNORE_EXCEPTION_DETAIL
Traceback (most recent call last):
...
OSError: can't get HEAD:doesnotexist: fatal: Path 'doesnotexist' does not exist in 'HEAD'
@@ -91,7 +91,7 @@ def test_binary_read():
>>> gf.close()
>>> gbp.git.vfs.GitVfs(repo, 'HEAD').open('foo.txt', 'rb').read() == content
True
- >>> gf = vfs.open('doesnotexist')
+ >>> gf = vfs.open('doesnotexist') # doctest:+IGNORE_EXCEPTION_DETAIL
Traceback (most recent call last):
...
OSError: can't get HEAD:doesnotexist: fatal: Path 'doesnotexist' does not exist in 'HEAD'