diff options
author | Guido Günther <agx@sigxcpu.org> | 2014-10-29 07:46:35 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2014-10-29 07:47:02 +0100 |
commit | 3d8939d4514484fd65bf6a84fd7304604924e8f3 (patch) | |
tree | 472e898ed4e957e27e38a3547e058d41ddbb6ce3 /tests/test_GitVfs.py | |
parent | e94709baab527ca7a11182cc024a84cff05c8704 (diff) |
git.vfs: fix close method
Preventing a infinite recursion which can be triggered by gbp pq export
--commit.
Diffstat (limited to 'tests/test_GitVfs.py')
-rw-r--r-- | tests/test_GitVfs.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_GitVfs.py b/tests/test_GitVfs.py index 7004db1f..8e049545 100644 --- a/tests/test_GitVfs.py +++ b/tests/test_GitVfs.py @@ -46,6 +46,7 @@ def test_read(): '' >>> gf.readline() '' + >>> gf.close() >>> gbp.git.vfs.GitVfs(repo, 'HEAD').open('foo.txt').read() == content True >>> gf = vfs.open('doesnotexist') |