numpydantic/tests/test_meta.py

34 lines
628 B
Python
Raw Normal View History

2024-04-23 03:23:24 +00:00
import sys
import pytest
from numpydantic import NDArray
2024-04-23 03:23:24 +00:00
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)