8000 Add empty test · python/typing_extensions@88e802d · GitHub
[go: up one dir, main page]

Skip to content

Commit 88e802d

Browse files
committed
Add empty test
1 parent 91b0047 commit 88e802d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/test_typing_extensions.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5074,6 +5074,10 @@ def test_inlined_not_a_dict(self):
50745074
with self.assertRaises(TypeError):
50755075
TypedDict["not_a_dict"]
50765076

5077+
def test_inlined_empty(self):
5078+
TD = TypedDict[{}]
5079+
self.assertEqual(TD.__required_keys__, set())
5080+
50775081
def test_inlined(self):
50785082
TD = TypedDict[{
50795083
"a": int,

0 commit comments

Comments
 (0)
0