summaryrefslogtreecommitdiff
path: root/tests/test_GitVfs.py
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2015-02-19 12:43:24 +0100
committerGuido Günther <agx@sigxcpu.org>2015-02-20 11:38:11 +0100
commitc22fb3cb2eadaaedf8ff7d68855d340975dd4c6b (patch)
tree7919f96e2d000e9dcea768e8be8083427cd8bf08 /tests/test_GitVfs.py
parentf1f37b96426a4922b047536595c7fa30713f394a (diff)
Ignore return types of write and shutil.copy
Python3 does not return None anymore
Diffstat (limited to 'tests/test_GitVfs.py')
-rw-r--r--tests/test_GitVfs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_GitVfs.py b/tests/test_GitVfs.py
index 8e04954..8fec765 100644
--- a/tests/test_GitVfs.py
+++ b/tests/test_GitVfs.py
@@ -28,7 +28,7 @@ def test_read():
>>> repo = gbp.git.GitRepository.create(str(repo_dir))
>>> f = open(os.path.join(repo.path, 'foo.txt'), 'w')
>>> content = 'al pha\\na\\nb\\nc'
- >>> f.write('al pha\\na\\nb\\nc')
+ >>> ret = f.write('al pha\\na\\nb\\nc')
>>> f.close()
>>> repo.add_files(repo.path, force=True)
>>> repo.commit_all(msg="foo")