Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 9, 2023
1 parent f77abfa commit 29e20e4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/test_slots.py
Original file line number Diff line number Diff line change
Expand Up @@ -904,8 +904,7 @@ def f(self):


def test_slots_cached_properties_work_independently():
"""
"""
""" """

@attr.s(slots=True)
class A:
Expand All @@ -919,7 +918,6 @@ def f_1(self):
def f_2(self):
return self.x * 2


obj = A(1)

assert obj.f_1 == 1
Expand Down

0 comments on commit 29e20e4

Please sign in to comment.