Skip to content

Commit 92a2f63

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 9b6f8d4 commit 92a2f63

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

testing/test_pluginmanager.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,11 @@ class A:
125125

126126
def test_register_skips_properties(he_pm: PluginManager) -> None:
127127
property_was_executed = False
128+
128129
class A:
129130
@property
130131
def some_func(self):
131-
property_was_executed = True
132+
pass
132133

133134
a = A()
134135
he_pm.register(a)
@@ -138,7 +139,7 @@ def some_func(self):
138139
def test_register_skips_pydantic_fields(he_pm: PluginManager) -> None:
139140
class A:
140141
# stub to make object look like a pydantic model
141-
model_fields = {'some_attr': {}}
142+
model_fields = {"some_attr": {}}
142143

143144
def __pydantic_core_schema__(self): ...
144145

0 commit comments

Comments
 (0)