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

Skip to content

Commit f5db1b7

Browse files
committed
Add empty test
1 parent 09bfecc commit f5db1b7

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
@@ -5061,6 +5061,10 @@ def test_inlined_not_a_dict(self):
50615061
with self.assertRaises(TypeError):
50625062
TypedDict["not_a_dict"]
50635063

5064+
def test_inlined_empty(self):
5065+
TD = TypedDict[{}]
5066+
self.assertEqual(TD.__required_keys__, set())
5067+
50645068
def test_inlined(self):
50655069
TD = TypedDict[{
50665070
"a": int,

0 commit comments

Comments
 (0)
0