aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/doctests/test_GitRepository.py
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2017-05-26 16:04:05 +0200
committerGuido Günther <agx@sigxcpu.org>2017-05-26 16:20:56 +0200
commitd488ac4fae3683c059de9ef7d7675150acdc2ef1 (patch)
treed42d35fc81948d6f113eb7e4ab2dc9611c23302f /tests/doctests/test_GitRepository.py
parentbe6af1e1f957abd01be0dbe1834630664b53fdbf (diff)
tests: drop unused variable
Diffstat (limited to 'tests/doctests/test_GitRepository.py')
-rw-r--r--tests/doctests/test_GitRepository.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/doctests/test_GitRepository.py b/tests/doctests/test_GitRepository.py
index 04796848..420ba1c3 100644
--- a/tests/doctests/test_GitRepository.py
+++ b/tests/doctests/test_GitRepository.py
@@ -101,8 +101,8 @@ def test_add_files():
>>> import gbp.git, shutil, os
>>> repo = gbp.git.GitRepository(dirs['repo'])
- >>> ret = shutil.copy(os.path.join(repo.path, ".git/HEAD"),
- ... os.path.join(repo.path, "testfile"))
+ >>> shutil.copy(os.path.join(repo.path, ".git/HEAD"),
+ ... os.path.join(repo.path, "testfile"))
>>> repo.is_clean()[0]
False
>>> repo.is_clean('doesnotexist')[0]