Skip to content

Commit

Permalink
Stop inheriting from object explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-k authored and markpeek committed Mar 27, 2021
1 parent bbd2bf1 commit d7c6e79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from awacs.aws import Action, PolicyDocument


class AWSHelperFn(object):
class AWSHelperFn:
"""Mock class to test classes with non-awacs AWSHelperFn parent."""

def to_json(self, indent=4, sort_keys=True):
Expand Down Expand Up @@ -53,7 +53,7 @@ def test_invalid_property(self):

class TestAWSProperty(unittest.TestCase):
def test_prop_value_type_mismatch_expect_list(self):
class InvalidClass(object):
class InvalidClass:
"""Class of invalid type."""

tests_values = ["val", {"key": "val"}, {"val"}, tuple("val"), InvalidClass()]
Expand Down

0 comments on commit d7c6e79

Please sign in to comment.