From 17d8f371044b31eaeadd3238b871b29b753e1768 Mon Sep 17 00:00:00 2001 From: pavel-zotov Date: Thu, 5 Sep 2024 10:07:37 +0300 Subject: [PATCH] Added/Updated tests\bugs\gh_0731_test.py: ISQL must work with charset = utf8. Otherwise 'Expected end of statement, encountered EOF' will raise on Linux. --- tests/bugs/gh_0731_test.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/bugs/gh_0731_test.py b/tests/bugs/gh_0731_test.py index 4b81db95..6fdb0a94 100644 --- a/tests/bugs/gh_0731_test.py +++ b/tests/bugs/gh_0731_test.py @@ -9,6 +9,8 @@ NOTES: [04.09.2024] pzotov The issue seems to be fixed long ago. Old FB versions can not be checked on current firebird QA. + ISQL must work with charset = utf8. Otherwise 'Expected end of statement, encountered EOF' will raise on Linux. + Checked on all recent 3.x ... 6.x -- all fine. """ @@ -92,6 +94,6 @@ expected_stdout = """ @pytest.mark.version('>=3.0') def test_1(act: Action): act.expected_stdout = expected_stdout - act.execute(charset = 'win1252') + act.execute(charset = 'utf8') assert act.clean_stdout == act.clean_expected_stdout