summaryrefslogtreecommitdiff
path: root/tests/test_Config.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_Config.py')
-rw-r--r--tests/test_Config.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_Config.py b/tests/test_Config.py
index 6750d84..329265b 100644
--- a/tests/test_Config.py
+++ b/tests/test_Config.py
@@ -68,14 +68,14 @@ def test_filter():
>>> tmpdir = str(context.new_tmpdir('bar'))
>>> confname = os.path.join(tmpdir, 'gbp.conf')
>>> f = open(confname, 'w')
- >>> f.write('[bar]\\nfilter = asdf\\n')
+ >>> ret = f.write('[bar]\\nfilter = asdf\\n')
>>> f.close()
>>> os.environ['GBP_CONF_FILES'] = confname
>>> parser = GbpOptionParser('bar')
>>> parser.config['filter']
['asdf']
>>> f = open(confname, 'w')
- >>> f.write("[bar]\\nfilter = ['this', 'is', 'a', 'list']\\n")
+ >>> ret = f.write("[bar]\\nfilter = ['this', 'is', 'a', 'list']\\n")
>>> f.close()
>>> parser = GbpOptionParser('bar')
>>> parser.config['filter']