Red Hat Linux
Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
You seem to have CSS turned off.
Please don't fill out this field.
Briefly describe the problem (required):
Please provide the ad click URL, if possible:
Date: 2005-06-30 17:54:03 +0200 (Thu, 30 Jun 2005)
New Revision: 3639
Py21 compatibility fix
--- trunk/docutils/test/test_publisher.py 2005-06-30 14:41:26 UTC (rev 3638)
+++ trunk/docutils/test/test_publisher.py 2005-06-30 15:54:03 UTC (rev 3639)
@@ -11,7 +11,7 @@
-from types import DictType
+from types import DictType, StringType
from docutils import core, nodes
@@ -84,7 +84,7 @@
doctree.reporter = None
doctree_pickled = pickle.dumps(doctree)
- self.assert_(isinstance(doctree_pickled, str))
+ self.assert_(isinstance(doctree_pickled, StringType))
# Unpickle the document.
Sign up for the SourceForge newsletter: