8000 Adds a subclass of dict as a test component. · shader/python-fire@979c788 · GitHub
[go: up one dir, main page]

Skip to content

Commit 979c788

Browse files
dbiebercopybara-github
authored andcommitted
Adds a subclass of dict as a test component.
PiperOrigin-RevId: 259358342 Change-Id: I4218e6b702ada87eac1248072ccdaa18977226ba
1 parent 024fbad commit 979c788

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

fire/test_components.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -388,3 +388,12 @@ def simple_set():
388388

389389
def simple_frozenset():
390390
return frozenset({1, 2, 'three'})
391+
392+
393+
class Subdict(dict):
394+
395+
pass
396+
397+
398+
subdict = Subdict({1: 2,
399+
'red': 'blue'})

0 commit comments

Comments
 (0)
0