Sindbad~EG File Manager

Current Path : /opt/imh-python/lib/python3.9/site-packages/numpy/typing/tests/data/reveal/
Upload File :
Current File : //opt/imh-python/lib/python3.9/site-packages/numpy/typing/tests/data/reveal/false_positives.pyi

import sys
from typing import Any

import numpy as np
import numpy.typing as npt

if sys.version_info >= (3, 11):
    from typing import assert_type
else:
    from typing_extensions import assert_type

AR_Any: npt.NDArray[Any]

# Mypy bug where overload ambiguity is ignored for `Any`-parametrized types;
# xref numpy/numpy#20099 and python/mypy#11347
#
# The expected output would be something akin to `npt.NDArray[Any]`
assert_type(AR_Any + 2, npt.NDArray[np.signedinteger[Any]])

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists