summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_genericalias.py
diff options
context:
space:
mode:
authorBatuhan Taşkaya <batuhanosmantaskaya@gmail.com>2020-04-07 21:37:19 (GMT)
committerGitHub <noreply@github.com>2020-04-07 21:37:19 (GMT)
commitf9dd51e7db27d04e0b716d41a2804d5acbf145d1 (patch)
tree66d0468e9668b0537e380e6f499f4d8a89521e20 /Lib/test/test_genericalias.py
parent87255be6964979b5abdc4b9dcf81cdcfdad6e753 (diff)
downloadcpython-f9dd51e7db27d04e0b716d41a2804d5acbf145d1.zip
cpython-f9dd51e7db27d04e0b716d41a2804d5acbf145d1.tar.gz
cpython-f9dd51e7db27d04e0b716d41a2804d5acbf145d1.tar.bz2
bpo-39481: Make os.DirEntry generic (GH-19415)
Diffstat (limited to 'Lib/test/test_genericalias.py')
-rw-r--r--Lib/test/test_genericalias.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_genericalias.py b/Lib/test/test_genericalias.py
index 9d8dbfe..9c5b23e 100644
--- a/Lib/test/test_genericalias.py
+++ b/Lib/test/test_genericalias.py
@@ -7,6 +7,7 @@ from collections import (
)
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
@@ -34,7 +35,7 @@ class BaseTest(unittest.TestCase):
Mapping, MutableMapping, MappingView,
KeysView, ItemsView, ValuesView,
Sequence, MutableSequence,
- MappingProxyType,
+ MappingProxyType, DirEntry
):
tname = t.__name__
with self.subTest(f"Testing {tname}"):