From c9d3f8ef556cd58e587267001a37f14ca758987c Mon Sep 17 00:00:00 2001
From: jakkdl
Date: Mon, 25 Sep 2023 17:35:34 +0200
Subject: [PATCH] properly invert the skip_ast_print_diff value
---
tests/util.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/util.py b/tests/util.py
index 3e5d25fb0ff..27acba404e7 100644
--- a/tests/util.py
+++ b/tests/util.py
@@ -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 = ""