Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
myint committed Mar 6, 2017
1 parent 53d2040 commit 9c469c9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test_ast.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ def _install_equal_methods():
_install_generic_equal(ast.Typedef, 'name alias namespace')
_install_generic_equal(ast.VariableDeclaration,
'name type initial_value namespace')


_install_equal_methods()


Expand Down Expand Up @@ -1140,5 +1142,6 @@ def test_inline_function(self):
Function('fn', list(get_tokens('void')), []),
nodes[0])


if __name__ == '__main__':
unittest.main()
1 change: 1 addition & 0 deletions test_tokenize.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ def __eq__(self, other):
self.start == other.start and
self.end == other.end)


tokenize.Token.__eq__ = __eq__


Expand Down

0 comments on commit 9c469c9

Please sign in to comment.