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

"Unable to parse ocaml outpuut, expected 3 matches, got 4" #15

Closed
AlexisWu-01 opened this issue Sep 11, 2019 · 1 comment · Fixed by #24
Closed

"Unable to parse ocaml outpuut, expected 3 matches, got 4" #15

AlexisWu-01 opened this issue Sep 11, 2019 · 1 comment · Fixed by #24
Labels
bug Something isn't working

Comments

@AlexisWu-01
Copy link

Hey not sure what happened but this parsed thing appeared several times in my teste :)

./focstest.py:131: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
logger.warn("Unable to parse ocaml output, expected 2 matches, got {}".format(len(matches)))
Unable to parse ocaml output, expected 2 matches, got 4
Skipped test 5 of 5 in suite 9: Unable to parse output

@newsch newsch pinned this issue Sep 19, 2019
@newsch
Copy link
Member

newsch commented Sep 19, 2019

Yikes, that's not a very helpful warning (my fault).

The DeprecationWarning should be fixed with 75eab53, and #11 is related to improving the warning message.

In this case, it most likely means that there's a syntax error in your ocaml file. The code in focstest that parses test outputs doesn't (yet) recognize that there's been an error or exception, only that it doesn't understand the output.

@newsch newsch added the bug Something isn't working label Sep 19, 2019
@newsch newsch unpinned this issue Oct 20, 2019
@newsch newsch pinned this issue Oct 20, 2019
@newsch newsch mentioned this issue Oct 23, 2019
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants