mirror of
https://github.com/p2p-ld/numpydantic.git
synced 2024-11-10 00:34:29 +00:00
don't do coverage for stuff that shouldn't happen during testing
This commit is contained in:
parent
fd252e3911
commit
f44397502e
1 changed files with 1 additions and 1 deletions
|
@ -60,5 +60,5 @@ def update_ndarray_stub() -> None:
|
||||||
pyi_file = Path(ndarray.__file__).with_suffix(".pyi")
|
pyi_file = Path(ndarray.__file__).with_suffix(".pyi")
|
||||||
with open(pyi_file, "w") as pyi:
|
with open(pyi_file, "w") as pyi:
|
||||||
pyi.write(stub_string)
|
pyi.write(stub_string)
|
||||||
except Exception as e:
|
except Exception as e: # pragma: no cover
|
||||||
warn(f"ndarray.pyi stub file could not be generated: {e}", stacklevel=1)
|
warn(f"ndarray.pyi stub file could not be generated: {e}", stacklevel=1)
|
||||||
|
|
Loading…
Reference in a new issue