Changeset: 3a8987f049ef for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=3a8987f049ef
Modified Files:
testing/sqllogictest.py
Branch: Oct2020
Log Message:
Open file as text (backport from default).
diffs (12 lines):
diff --git a/testing/sqllogictest.py b/testing/sqllogictest.py
--- a/testing/sqllogictest.py
+++ b/testing/sqllogictest.py
@@ -191,7 +191,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