summaryrefslogtreecommitdiff
blob: b55e392def58851e9b416c107e014ee84a657526 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
https://svn.berlios.de/viewcvs/docutils?view=rev&revision=5599

--- trunk/docutils/test/test_nodes.py
+++ trunk/docutils/test/test_nodes.py
@@ -175,7 +175,7 @@
         node_class_names = []
         for x in dir(nodes):
             c = getattr(nodes, x)
-            if isinstance(c, ClassType) and issubclass(c, nodes.Node) \
+            if isinstance(c, (type, ClassType)) and issubclass(c, nodes.Node) \
                    and len(c.__bases__) > 1:
                 node_class_names.append(x)
         node_class_names.sort()