aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTim Harder <radhermit@gmail.com>2018-04-11 01:08:58 -0400
committerTim Harder <radhermit@gmail.com>2018-04-11 14:39:31 -0400
commit7a70cd94fc0c4159cbd5c6cf0785c962d0dce6c0 (patch)
treecd350a966656c321288721b380c574753ddb3efa /tests
parentcli.arghparse: large reworking of custom actions (diff)
downloadsnakeoil-7a70cd94fc0c4159cbd5c6cf0785c962d0dce6c0.tar.gz
snakeoil-7a70cd94fc0c4159cbd5c6cf0785c962d0dce6c0.tar.bz2
snakeoil-7a70cd94fc0c4159cbd5c6cf0785c962d0dce6c0.zip
simplify various super() calls
Diffstat (limited to 'tests')
-rw-r--r--tests/test_mappings.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_mappings.py b/tests/test_mappings.py
index 07026d7..5be9178 100644
--- a/tests/test_mappings.py
+++ b/tests/test_mappings.py
@@ -135,7 +135,7 @@ class LazyValDictTestMixin(object):
class TestLazyValDictWithList(LazyValDictTestMixin, RememberingNegateMixin):
def setup_method(self, method):
- super(TestLazyValDictWithList, self).setup_method(method)
+ super().setup_method(method)
self.dict = mappings.LazyValDict(list(range(12)), self.negate)
def test_values(self):
@@ -154,7 +154,7 @@ class TestLazyValDictWithList(LazyValDictTestMixin, RememberingNegateMixin):
class TestLazyValDictWithFunc(LazyValDictTestMixin, RememberingNegateMixin):
def setup_method(self, method):
- super(TestLazyValDictWithFunc, self).setup_method(method)
+ super().setup_method(method)
self.dict = mappings.LazyValDict(a_dozen, self.negate)