def testGetTrailingCommaDict(self):
    original = ['q = {1:1,}', ]

    # Expect line too long.
    expected = errors.COMMA_AT_END_OF_LITERAL

    self._AssertInError(original, expected)
warning for trailing commas before closing array
dataset/ETHPy150Open google/closure-linter/closure_linter/trailing_comma_test.py/TrailingCommaTest.testGetTrailingCommaDict