summaryrefslogtreecommitdiff
path: root/docutils/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
commit46f6d8d46ef28334cf50b6b37903ecc1556a6184 (patch)
treea7d64bb71a8e92c65db8c35bebf3b54153491e49 /docutils/test/DocutilsTestSupport.py
parentfac4b8563b8d33b271290d538b05376daf48149d (diff)
downloaddocutils-46f6d8d46ef28334cf50b6b37903ecc1556a6184.tar.gz
undo accidental commit to trunk
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@5608 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/test/DocutilsTestSupport.py')
-rw-r--r--docutils/test/DocutilsTestSupport.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/docutils/test/DocutilsTestSupport.py b/docutils/test/DocutilsTestSupport.py
index ce67ab262..24858c624 100644
--- a/docutils/test/DocutilsTestSupport.py
+++ b/docutils/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)