Changeset: ed305d0ab79f for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/ed305d0ab79f
Modified Files:
testing/sqllogictest.py
Branch: Dec2023
Log Message:
Use isinstance instead of type.
diffs (12 lines):
diff --git a/testing/sqllogictest.py b/testing/sqllogictest.py
--- a/testing/sqllogictest.py
+++ b/testing/sqllogictest.py
@@ -429,7 +429,7 @@ class SQLLogic:
for row in data:
nrow = []
for col in row:
- if type(col) == type(''):
+ if isinstance(col, str):
res = geosre.search(col)
if res is not None:
points = ptsre.sub(r'(\g<0>)', res.group('points'))
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]