summaryrefslogtreecommitdiff
path: root/tests/test_Changelog.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_Changelog.py
parentf1f37b96426a4922b047536595c7fa30713f394a (diff)
Ignore return types of write and shutil.copy
Python3 does not return None anymore
Diffstat (limited to 'tests/test_Changelog.py')
-rw-r--r--tests/test_Changelog.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_Changelog.py b/tests/test_Changelog.py
index 30f25e5..9b0a0e7 100644
--- a/tests/test_Changelog.py
+++ b/tests/test_Changelog.py
@@ -237,7 +237,7 @@ def test_add_section():
>>> testclname = os.path.join(testdebdir, "changelog")
>>> os.mkdir(testdebdir)
>>> clh = open(os.path.join(testdebdir, "changelog"), "w")
- >>> clh.write(cl_debian)
+ >>> ret = clh.write(cl_debian)
>>> clh.close()
>>> os.chdir(testdir)
>>> os.path.abspath(os.path.curdir) == testdir
@@ -283,7 +283,7 @@ def test_add_entry():
>>> testclname = os.path.join(testdebdir, "changelog")
>>> os.mkdir(testdebdir)
>>> clh = open(os.path.join(testdebdir, "changelog"), "w")
- >>> clh.write(cl_debian)
+ >>> ret = clh.write(cl_debian)
>>> clh.close()
>>> os.chdir(testdir)
>>> os.path.abspath(os.path.curdir) == testdir