blob: 67eab280f949ada81e3d3e28dcd3dad1d14c2005 [file] [log] [blame]
"""Check multiple key definition"""
# pylint: disable=pointless-statement
correct_dict = {
'tea': 'for two',
'two': 'for tea',
}
wrong_dict = { # [duplicate-key]
'tea': 'for two',
'two': 'for tea',
'tea': 'time',
}
{1: b'a', 1: u'a'} # [duplicate-key]
{1: 1, 1.0: 2} # [duplicate-key]