No need to inherit from object in Python 3
This commit is contained in:
committed by
Adrien Vergé
parent
4c7b47daf3
commit
ae3158cd1f
@@ -121,7 +121,7 @@ class SimpleConfigTestCase(unittest.TestCase):
|
||||
self.assertEqual(c.rules['hyphens'], False)
|
||||
|
||||
def test_validate_rule_conf(self):
|
||||
class Rule(object):
|
||||
class Rule:
|
||||
ID = 'fake'
|
||||
|
||||
self.assertFalse(config.validate_rule_conf(Rule, False))
|
||||
|
||||
Reference in New Issue
Block a user