tests/test-storage.py
branchstable
changeset 40453 1bf3e6041e2c
parent 40363 c3ad9ef0876c
child 43076 2372284d9457
--- a/tests/test-storage.py	Fri Oct 19 22:09:53 2018 +0800
+++ b/tests/test-storage.py	Fri Nov 02 21:25:35 2018 +0900
@@ -25,6 +25,14 @@
     sqlitestore = None
 
 try:
+    import sqlite3
+    if sqlite3.sqlite_version_info < (3, 8, 3):
+        # WITH clause not supported
+        sqlitestore = None
+except ImportError:
+    pass
+
+try:
     from mercurial import zstd
     zstd.__version__
 except ImportError: