summaryrefslogtreecommitdiff
path: root/test/DocutilsTestSupport.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/DocutilsTestSupport.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/DocutilsTestSupport.py')
-rw-r--r--test/DocutilsTestSupport.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/DocutilsTestSupport.py b/test/DocutilsTestSupport.py
index ce67ab262..24858c624 100644
--- a/test/DocutilsTestSupport.py
+++ b/test/DocutilsTestSupport.py
@@ -668,7 +668,7 @@ class WriterPublishTestCase(CustomTestCase, docutils.SettingsSpec):
writer_name = '' # set in subclasses or constructor
def __init__(self, *args, **kwargs):
- if 'writer_name' in kwargs:
+ if kwargs.has_key('writer_name'):
self.writer_name = kwargs['writer_name']
del kwargs['writer_name']
CustomTestCase.__init__(self, *args, **kwargs)