Changeset: b5628e18227a for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/b5628e18227a
Modified Files:
        testing/Mtest.py.in
Branch: Mar2025
Log Message:

The Python mx module hasn't existed for a long time.


diffs (24 lines):

diff --git a/testing/Mtest.py.in b/testing/Mtest.py.in
--- a/testing/Mtest.py.in
+++ b/testing/Mtest.py.in
@@ -39,6 +39,7 @@ import fnmatch
 import http
 import http.server
 import glob
+import datetime
 import pymonetdb # check for pymonetdb early: it is essential for our work
 
 MonetDB_VERSION = '@MONETDB_VERSION@'.split('.')
@@ -4176,11 +4177,7 @@ def main(argv) :
         compiler = ''
 
         # start of times.sql output preparation
-        try:
-            from mx import DateTime
-            now = "timestamp '" + str(DateTime.now()) + "'"
-        except ImportError:
-            now = 'now()'
+        now = "timestamp '" + str(datetime.datetime.now()) + "'"
 
         if env['TST_INT128'] != '':
             isInt128 = 'true'
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to