diff options
author | nbarth@chromium.org <nbarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-14 01:42:30 +0000 |
---|---|---|
committer | nbarth@chromium.org <nbarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-14 01:42:30 +0000 |
commit | a8f942845fefa262e9a9fe7e778bc5eda1760bb6 (patch) | |
tree | dff21c39415977a268856d82b8de48c150aa503f /tools/idl_parser/idl_lexer_test.py | |
parent | 09da02f2f1510e109c179b73074fb632555384d2 (diff) | |
download | chromium_src-a8f942845fefa262e9a9fe7e778bc5eda1760bb6.zip chromium_src-a8f942845fefa262e9a9fe7e778bc5eda1760bb6.tar.gz chromium_src-a8f942845fefa262e9a9fe7e778bc5eda1760bb6.tar.bz2 |
IDL parser: fix lint errors and PPAPI ExtAttr grammar (+ test)
This fixes Pylint errors in the IDL parser.
It also fixes the grammar for PPAPI-specific extended attributes,
and adds tests.
Beyond beautification, this allows us to use Pylint in future
(skipping long line checks).
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=216379
Review URL: https://chromiumcodereview.appspot.com/22411002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@217432 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/idl_parser/idl_lexer_test.py')
-rwxr-xr-x | tools/idl_parser/idl_lexer_test.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/tools/idl_parser/idl_lexer_test.py b/tools/idl_parser/idl_lexer_test.py index cba4e48..8b20da8 100755 --- a/tools/idl_parser/idl_lexer_test.py +++ b/tools/idl_parser/idl_lexer_test.py @@ -3,10 +3,6 @@ # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. -import json -import optparse -import os -import sys import unittest from idl_lexer import IDLLexer @@ -100,4 +96,4 @@ class PepperIDLLexer(WebIDLLexer): if __name__ == '__main__': - unittest.main()
\ No newline at end of file + unittest.main() |