Skip to content

Commit d516591

Browse files
Update run-dicts.test
1 parent be70dbb commit d516591

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mypyc/test-data/run-dicts.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ c
230230

231231
[case testDictMethods]
232232
from collections import defaultdict
233-
from typing import Dict, Optional, List, Set
233+
from typing import DefaultDict, Dict, Optional, List, Set
234234

235235
def test_dict_clear() -> None:
236236
d = {'a': 1, 'b': 2}
@@ -265,7 +265,7 @@ class MyDict(dict):
265265
else:
266266
return super().setdefault(k, v) + 10
267267

268-
class MyComplexDict(Dict, MyDict):
268+
class MyComplexDict(DefaultDict, MyDict):
269269
pass
270270

271271
def test_dict_keys() -> None:

0 commit comments

Comments
 (0)