From 96d4f2b8a594edab65fb4b86b5e4ce36f65a74e4 Mon Sep 17 00:00:00 2001 From: pavel-zotov Date: Sat, 18 Jan 2025 15:23:24 +0300 Subject: [PATCH] Added/Updated tests\bugs\gh_8231_test.py: added forgotten 'DatabaseError as e' --- tests/bugs/gh_8231_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/bugs/gh_8231_test.py b/tests/bugs/gh_8231_test.py index a91a43aa..30353afb 100644 --- a/tests/bugs/gh_8231_test.py +++ b/tests/bugs/gh_8231_test.py @@ -89,7 +89,7 @@ def test_1(act: Action, capsys): rs = cur.execute(ps) for r in rs: print(r[0]) - except: + except DatabaseError as e: print(e.__str__()) print(e.gds_codes) finally: