Changeset: 0018df8578cf for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=0018df8578cf
Modified Files:
        testing/sqllogictest.py
Branch: mtest
Log Message:

We only read UTF-8 test files.


diffs (12 lines):

diff --git a/testing/sqllogictest.py b/testing/sqllogictest.py
--- a/testing/sqllogictest.py
+++ b/testing/sqllogictest.py
@@ -372,7 +372,7 @@ class SQLLogic:
 
     def initfile(self, f):
         self.name = f
-        self.file = open(f)
+        self.file = open(f, 'r', encoding='utf-8', errors='replace')
         self.line = 0
         self.hashes = {}
 
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to