From 6668e43d2d67db4574e08a9d54bd80eb105c1b28 Mon Sep 17 00:00:00 2001 From: Sergey Maranchuk Date: Fri, 17 Apr 2020 22:12:06 +0300 Subject: inheriting from `object` not necessary in py3 --- tests/pkgs/staticpermapp/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/pkgs/staticpermapp/__init__.py') diff --git a/tests/pkgs/staticpermapp/__init__.py b/tests/pkgs/staticpermapp/__init__.py index a12eac2d3..40ad7f527 100644 --- a/tests/pkgs/staticpermapp/__init__.py +++ b/tests/pkgs/staticpermapp/__init__.py @@ -1,11 +1,11 @@ -class RootFactory(object): +class RootFactory: __acl__ = [('Allow', 'fred', 'view')] def __init__(self, request): pass -class LocalRootFactory(object): +class LocalRootFactory: __acl__ = [('Allow', 'bob', 'view')] def __init__(self, request): -- cgit v1.2.3