Skip to content

Commit

Permalink
properly invert the skip_ast_print_diff value
Browse files Browse the repository at this point in the history
  • Loading branch information
jakkdl committed Sep 25, 2023
1 parent 0f23f7d commit c9d3f8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

def _assert_format_equal(expected: str, actual: str) -> None:
ast_print = not os.environ.get("SKIP_AST_PRINT")
ast_print_diff = os.environ.get("SKIP_AST_PRINT_DIFF")
ast_print_diff = not os.environ.get("SKIP_AST_PRINT_DIFF")
if actual != expected and (ast_print or ast_print_diff):
bdv: DebugVisitor[Any]
actual_out: str = ""
Expand Down

0 comments on commit c9d3f8e

Please sign in to comment.