Mercurial > moin > 2.0
changeset 2010:e317d66d89b3
use more new-style classes
author | Thomas Waldmann <tw AT waldmann-edv DOT de> |
---|---|
date | Sun, 17 Feb 2013 18:29:23 +0100 |
parents | 093bdc2d6fe0 |
children | 791bdedb0c20 |
files | MoinMoin/_tests/ldap_testbase.py MoinMoin/util/_tests/test_diff3.py |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/MoinMoin/_tests/ldap_testbase.py Sun Feb 17 18:17:27 2013 +0100 +++ b/MoinMoin/_tests/ldap_testbase.py Sun Feb 17 18:29:23 2013 +0100 @@ -235,7 +235,7 @@ try: import pytest - class LDAPTstBase: + class LDAPTstBase(object): """ Test base class for pytest based tests which need a LDAP server to talk to. Inherit your test class from this base class to test LDAP stuff.
--- a/MoinMoin/util/_tests/test_diff3.py Sun Feb 17 18:17:27 2013 +0100 +++ b/MoinMoin/util/_tests/test_diff3.py Sun Feb 17 18:29:23 2013 +0100 @@ -9,7 +9,7 @@ from MoinMoin.util import diff3 -class TestDiff3: +class TestDiff3(object): def testTextMerge(self): """ util.diff3.text_merge: test correct merging """