tests/test_pdfgen_general.py
branchpy33
changeset 3800 e8547b00eb59
parent 3794 398ea04239b5
child 3849 8ff9b1fb92cd
--- a/tests/test_pdfgen_general.py	Tue Nov 19 15:30:37 2013 +0000
+++ b/tests/test_pdfgen_general.py	Tue Nov 19 16:30:03 2013 +0000
@@ -83,9 +83,8 @@
 
 
 #def newsubsection(name):
-#    from types import TupleType
 #    thissection = outlinenametree[-1]
-#    if type(thissection) is not TupleType:
+#    if not isinstance(thissection,tuple):
 #        subsectionlist = []
 #        thissection = outlinenametree[-1] = (thissection, subsectionlist)
 #    else: