Skip to content

Commit 6fd593c

Browse files
committed
Skip sqlite3 geopoly test on Windows
1 parent 69c7662 commit 6fd593c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/verify_distribution.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,12 @@ def test_sqlite(self):
128128
cursor.execute("CREATE VIRTUAL TABLE fts3 USING fts3(sender, title, body);")
129129
cursor.execute("CREATE VIRTUAL TABLE fts4 USING fts4(sender, title, body);")
130130
cursor.execute("CREATE VIRTUAL TABLE fts5 USING fts5(sender, title, body);")
131-
cursor.execute("CREATE VIRTUAL TABLE geopoly USING geopoly();")
132131
cursor.execute("CREATE VIRTUAL TABLE rtree USING rtree(id, minX, maxX);")
132+
if os.name != "nt":
133+
# TODO(geofft): not sure why this isn't present in the prebuilt
134+
# sqlite3 Windows library from CPython upstream, it seems weird to
135+
# be inconsistent across platforms, but that's the status quo
136+
cursor.execute("CREATE VIRTUAL TABLE geopoly USING geopoly();")
133137
conn.close()
134138

135139
def test_ssl(self):

0 commit comments

Comments
 (0)