diff MoinMoin/security/_tests/test_textcha.py @ 1879:b7241c73c394

use more new-style classes
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sat, 22 Dec 2012 00:42:15 +0100
parents 4ac437141bbe
children 87272c032485
line wrap: on
line diff
--- a/MoinMoin/security/_tests/test_textcha.py	Sat Dec 22 00:24:05 2012 +0100
+++ b/MoinMoin/security/_tests/test_textcha.py	Sat Dec 22 00:42:15 2012 +0100
@@ -103,7 +103,7 @@
         cfg.secrets.pop('security/textcha')
         flaskg.user.profile[LOCALE] = None
 
-    class Element:
+    class Element(object):
         def __init__(self):
             self.parent = None
             self.value = 'Good Answer'