summaryrefslogtreecommitdiff
path: root/test/test_settings.py
diff options
context:
space:
mode:
authorstrank <strank@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2008-07-23 19:44:50 +0000
committerstrank <strank@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2008-07-23 19:44:50 +0000
commit9878aff2fb3421f1a31681d361cc24d1ef3e1a5b (patch)
tree8b1cb8accd2b1843d83838796a738e1b4a93faa3 /test/test_settings.py
parent83816c45579ffbfab7206e21818ecdd12ddcd8f6 (diff)
downloaddocutils-abolish-userstring-haskey@5608.tar.gz
undo accidental commit to trunkabolish-userstring-haskey@5608
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@5608 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'test/test_settings.py')
-rwxr-xr-xtest/test_settings.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_settings.py b/test/test_settings.py
index fb050b2ad..2cf4e080c 100755
--- a/test/test_settings.py
+++ b/test/test_settings.py
@@ -92,8 +92,8 @@ class ConfigFileTests(unittest.TestCase):
def compare_output(self, result, expected):
"""`result` and `expected` should both be dicts."""
- self.assert_('record_dependencies' in result)
- if 'record_dependencies' not in expected:
+ self.assert_(result.has_key('record_dependencies'))
+ if not expected.has_key('record_dependencies'):
# Delete it if we don't want to test it.
del result['record_dependencies']
result = pprint.pformat(result) + '\n'