mirror of
https://github.com/FirebirdSQL/firebird-qa.git
synced 2025-01-22 13:33:07 +01:00
Added/Updated tests\bugs\gh_8231_test.py: added forgotten 'DatabaseError as e'
This commit is contained in:
parent
0f6cc4a53b
commit
96d4f2b8a5
@ -89,7 +89,7 @@ def test_1(act: Action, capsys):
|
|||||||
rs = cur.execute(ps)
|
rs = cur.execute(ps)
|
||||||
for r in rs:
|
for r in rs:
|
||||||
print(r[0])
|
print(r[0])
|
||||||
except:
|
except DatabaseError as e:
|
||||||
print(e.__str__())
|
print(e.__str__())
|
||||||
print(e.gds_codes)
|
print(e.gds_codes)
|
||||||
finally:
|
finally:
|
||||||
|
Loading…
Reference in New Issue
Block a user