lint: ruff format
This commit is contained in:
parent
4b78866403
commit
284a6d1cd6
1 changed files with 2 additions and 0 deletions
|
|
@ -6,6 +6,7 @@ from types import ModuleType
|
|||
|
||||
import pytest
|
||||
|
||||
|
||||
class _DBOpenError(RuntimeError):
|
||||
pass
|
||||
|
||||
|
|
@ -48,6 +49,7 @@ def stub_import(monkeypatch):
|
|||
mod.__path__ = [] # type: ignore[attr-defined]
|
||||
monkeypatch.setitem(sys.modules, name, mod)
|
||||
return mod
|
||||
|
||||
return _install_stub
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue