Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failing test: yapftests.pytree_unwrapper_test.MatchBracketsTest #469

Closed
FRidh opened this issue Oct 25, 2017 · 0 comments
Closed

Failing test: yapftests.pytree_unwrapper_test.MatchBracketsTest #469

FRidh opened this issue Oct 25, 2017 · 0 comments

Comments

@FRidh
Copy link

FRidh commented Oct 25, 2017

The following test fails with Python 2.7. It does not fail with 3.6.

FAIL: testFunctionDef (yapftests.pytree_unwrapper_test.MatchBracketsTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/yapf-0.19.0/yapftests/pytree_unwrapper_test.py", line 325, in testFunctionDef
    [],
  File "/build/yapf-0.19.0/yapftests/pytree_unwrapper_test.py", line 314, in _CheckMatchingBrackets
    self.assertEqual(uwline[open_bracket][0], uwline[close_bracket][1])
AssertionError: FormatToken(name=LPAR, value=() != None

Log of 0.17.0: https://nix-cache.s3.amazonaws.com/log/6jbvyly8xjgqzjdf9sbvba068cvd0hp7-python2.7-yapf-0.17.0.drv
It also fails with 0.19.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants