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

[test suite] grammar fuzz failure with utf-8 #3875

Closed
charles-cooper opened this issue Mar 19, 2024 · 0 comments · Fixed by #3892
Closed

[test suite] grammar fuzz failure with utf-8 #3875

charles-cooper opened this issue Mar 19, 2024 · 0 comments · Fixed by #3892

Comments

@charles-cooper
Copy link
Member

test failure (from https://github.com/vyperlang/vyper/actions/runs/8343830170/job/22834860255?pr=3861#step:6:88)
=========================== short test summary info ============================
FAILED tests/functional/grammar/test_grammar.py::test_grammar_bruteforce - vyper.exceptions.InvalidLiteral: 'ā' is not an allowed string literal character

line 2:0
1 """"""
---> 2 """ā"""
-------^
3

Falsifying example: test_grammar_bruteforce(
code='"""""" \n"""ā"""',
)

You can reproduce this example by temporarily adding @reproduce_failure('6.99.9', b'AXicY+RjAAFGRkYozQABAAGzABU=') as a decorator on your test case
============ 1 failed, 737 passed, 16 warnings in 697.42s (0:11:37) ============
Error: Process completed with exit code 1.

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

Successfully merging a pull request may close this issue.

1 participant