Skip to content

Commit 6ecc59d

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 05c3a64 commit 6ecc59d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/_pytest/assertion/rewrite.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -183,12 +183,12 @@ def get_code(self, fullname: str) -> types.CodeType
183183
state.trace(f"found cached rewritten pyc for {fn}")
184184

185185
return co
186-
186+
187187
def exec_module(self, module: types.ModuleType) -> None:
188188
module_name = module.__name__
189-
189+
190190
self._rewritten_names[module_name] = fn
191-
191+
192192
exec(self.get_code(module_name), module.__dict__)
193193

194194
def _early_rewrite_bailout(self, name: str, state: AssertionState) -> bool:

0 commit comments

Comments
 (0)