mirror of
https://github.com/p2p-ld/numpydantic.git
synced 2024-11-10 00:34:29 +00:00
33 lines
628 B
Python
33 lines
628 B
Python
import sys
|
|
import pytest
|
|
|
|
from numpydantic import NDArray
|
|
|
|
if sys.version_info.minor < 11:
|
|
from typing_extensions import reveal_type
|
|
else:
|
|
from typing import reveal_type
|
|
|
|
|
|
@pytest.mark.skip("TODO")
|
|
def test_generate_stub():
|
|
"""
|
|
Test that we generate the stub file correctly...
|
|
"""
|
|
pass
|
|
|
|
|
|
@pytest.mark.skip("TODO")
|
|
def test_update_stub():
|
|
"""
|
|
Test that the update stub file correctly updates the stub stored in the package
|
|
"""
|
|
pass
|
|
|
|
|
|
@pytest.mark.skip("TODO")
|
|
def test_stub_revealed_type():
|
|
"""
|
|
Check that the revealed type matches the stub
|
|
"""
|
|
type = reveal_type(NDArray)
|