blob: 3fae8b7e12828cb671033073f64317b9603cfe5d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
"""Check multiple key definition"""
# pylint: disable=C0103
correct_dict = {
'tea': 'for two',
'two': 'for tea',
}
wrong_dict = { # [duplicate-key]
'tea': 'for two',
'two': 'for tea',
'tea': 'time',
}
|