Skip to content

Commit

Permalink
fix flake8 errors
Browse files Browse the repository at this point in the history
  • Loading branch information
sandbubbles committed Oct 29, 2024
1 parent 70bb05d commit 5a80cd7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/unit/ast/test_pre_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,10 +204,10 @@ def test_parse_pragmas(code, pre_parse_settings, compiler_data_settings, mock_ve
@pytest.mark.parametrize("code", pragma_venom)
def test_parse_venom_pragma(code):
pre_parse_result = pre_parse(code)
assert pre_parse_result.settings.experimental_codegen == True
assert pre_parse_result.settings.experimental_codegen is True

compiler_data = CompilerData(code)
assert compiler_data.settings.experimental_codegen == True
assert compiler_data.settings.experimental_codegen is True


invalid_pragmas = [
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/cli/vyper_json/test_compile_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ def test_compile_json_with_experimental_codegen():
}

settings = get_settings(code)
assert settings.experimental_codegen == True
assert settings.experimental_codegen is True


def test_compile_json_with_both_venom_aliases():
Expand Down

0 comments on commit 5a80cd7

Please sign in to comment.