)
from collections.abc import *
from contextlib import AbstractContextManager, AbstractAsyncContextManager
+from os import DirEntry
from re import Pattern, Match
from types import GenericAlias, MappingProxyType
import typing
Mapping, MutableMapping, MappingView,
KeysView, ItemsView, ValuesView,
Sequence, MutableSequence,
- MappingProxyType,
+ MappingProxyType, DirEntry
):
tname = t.__name__
with self.subTest(f"Testing {tname}"):
OS_DIRENTRY_STAT_METHODDEF
OS_DIRENTRY_INODE_METHODDEF
OS_DIRENTRY___FSPATH___METHODDEF
+ {"__class_getitem__", (PyCFunction)Py_GenericAlias,
+ METH_O|METH_CLASS, PyDoc_STR("See PEP 585")},
{NULL}
};