From 99cd6d454a9ab11b17c34f7b4cebb848f6ec9560 Mon Sep 17 00:00:00 2001 From: Jakub Kulik Date: Fri, 18 Aug 2023 16:31:07 +0200 Subject: [PATCH] Fix test for yaml.load --- tests/lib/test_dump_load.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/lib/test_dump_load.py b/tests/lib/test_dump_load.py index f3b10b01..2b5527b3 100644 --- a/tests/lib/test_dump_load.py +++ b/tests/lib/test_dump_load.py @@ -9,7 +9,7 @@ def test_load_no_loader(verbose=False): yaml.load("- foo\n") except TypeError: return True - assert(False, "load() require Loader=...") + assert False, "load() require Loader=..." test_load_no_loader.unittest = True def test_load_safeloader(verbose=False):