]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
fix TypeReflectionTest for sqlite 3.24
authorNils Philippsen <nils@tiptoe.de>
Sun, 24 Jun 2018 15:47:05 +0000 (11:47 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 25 Jun 2018 22:37:23 +0000 (18:37 -0400)
Fixed issue in test suite where SQLite 3.24 added a new reserved word that
conflicted with a usage in TypeReflectionTest.  Pull request courtesy Nils
Philippsen.

Change-Id: I396562cecb5ca774f29e9234845bcc6a399fc5cb
Pull-request: https://github.com/zzzeek/sqlalchemy/pull/452

doc/build/changelog/unreleased_12/pr452.rst [new file with mode: 0644]
test/dialect/test_sqlite.py

diff --git a/doc/build/changelog/unreleased_12/pr452.rst b/doc/build/changelog/unreleased_12/pr452.rst
new file mode 100644 (file)
index 0000000..471b203
--- /dev/null
@@ -0,0 +1,7 @@
+.. change::
+    :tags: bug, sqlite
+    :versions: 1.3.0b1
+
+    Fixed issue in test suite where SQLite 3.24 added a new reserved word that
+    conflicted with a usage in TypeReflectionTest.  Pull request courtesy Nils
+    Philippsen.
index 4c462aed1c5bcf79e7374aea3e3d085457728e69..d2d563208e77f9c4937c9f0f4b74eecaddfb681f 100644 (file)
@@ -1637,7 +1637,7 @@ class TypeReflectionTest(fixtures.TestBase):
             ("BLOBBER", sqltypes.NullType()),
             ("DOUBLE PRECISION", sqltypes.REAL()),
             ("FLOATY", sqltypes.REAL()),
-            ("NOTHING WE KNOW", sqltypes.NUMERIC()),
+            ("SOMETHING UNKNOWN", sqltypes.NUMERIC()),
         ]
 
     def _fixture_as_string(self, fixture):