From 5ec6570fe73547c1d39afb229c7960ee6c233dd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bart=C5=82omiej=20Chmiel?= Date: Thu, 11 Dec 2025 16:13:58 +0100 Subject: [PATCH] Fix python lints MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Bartłomiej Chmiel --- test_regress/t/t_trace_no_inline.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test_regress/t/t_trace_no_inline.py b/test_regress/t/t_trace_no_inline.py index e87521998..a7b54735a 100755 --- a/test_regress/t/t_trace_no_inline.py +++ b/test_regress/t/t_trace_no_inline.py @@ -24,7 +24,7 @@ trace_chg_file = test.obj_dir + "/" + test.vm_prefix + "__Trace__0.cpp" if test.vlt_all: if os.path.exists(trace_full_file): - with open(trace_full_file, 'r') as f: + with open(trace_full_file, 'r', encoding="utf-8") as f: trace_content = f.read() # Search for inlined expressions, e.g.: bufp->fullBit(oldp+X,((1U & (~ (IData)(vlSelfRef.clk))))); @@ -78,7 +78,7 @@ if test.vlt_all: # Check `chg` functions if os.path.exists(trace_chg_file): - with open(trace_chg_file, 'r') as f: + with open(trace_chg_file, 'r', encoding='utf-8') as f: trace_chg_content = f.read() # Search for inlined expressions, e.g.: chgBit(oldp+X,((1U & (~ ...))))