|
|
dc1d55 |
From 3fd3ac6d554019f54efe1935f3a25cb5939fdad3 Mon Sep 17 00:00:00 2001
|
|
|
dc1d55 |
From: Nils Philippsen <nils@tiptoe.de>
|
|
|
dc1d55 |
Date: Mon, 18 Jun 2018 00:08:38 +0200
|
|
|
dc1d55 |
Subject: [PATCH] fix TypeReflectionTest for sqlite 3.24
|
|
|
dc1d55 |
|
|
|
dc1d55 |
SQLite 3.24 added support for PostgreSQL-style UPSERT. This added two
|
|
|
dc1d55 |
new keywords 'DO' and 'NOTHING' which made
|
|
|
dc1d55 |
test_round_trip_direct_type_affinity() fail with a syntax error.
|
|
|
dc1d55 |
---
|
|
|
dc1d55 |
test/dialect/test_sqlite.py | 2 +-
|
|
|
dc1d55 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
dc1d55 |
|
|
|
dc1d55 |
diff --git a/test/dialect/test_sqlite.py b/test/dialect/test_sqlite.py
|
|
|
dc1d55 |
index 4c462aed1..d2d563208 100644
|
|
|
dc1d55 |
--- a/test/dialect/test_sqlite.py
|
|
|
dc1d55 |
+++ b/test/dialect/test_sqlite.py
|
|
|
dc1d55 |
@@ -1637,7 +1637,7 @@ class TypeReflectionTest(fixtures.TestBase):
|
|
|
dc1d55 |
("BLOBBER", sqltypes.NullType()),
|
|
|
dc1d55 |
("DOUBLE PRECISION", sqltypes.REAL()),
|
|
|
dc1d55 |
("FLOATY", sqltypes.REAL()),
|
|
|
dc1d55 |
- ("NOTHING WE KNOW", sqltypes.NUMERIC()),
|
|
|
dc1d55 |
+ ("SOMETHING UNKNOWN", sqltypes.NUMERIC()),
|
|
|
dc1d55 |
]
|
|
|
dc1d55 |
|
|
|
dc1d55 |
def _fixture_as_string(self, fixture):
|
|
|
dc1d55 |
--
|
|
|
dc1d55 |
2.17.1
|
|
|
dc1d55 |
|