Closed
Description
Migrated issue, originally created by Michael Bayer (@zzzeek)
likely a bug in the regex we have to use here
diff --git a/lib/sqlalchemy/testing/suite/test_reflection.py b/lib/sqlalchemy/testing/suite/test_reflection.py
index 3edbdeb..ba70d5c 100644
--- a/lib/sqlalchemy/testing/suite/test_reflection.py
+++ b/lib/sqlalchemy/testing/suite/test_reflection.py
@@ -537,6 +537,7 @@ class ComponentReflectionTest(fixtures.TablesTest):
{'name': 'unique_a_b_c', 'column_names': ['a', 'b', 'c']},
{'name': 'unique_c_a_b', 'column_names': ['c', 'a', 'b']},
{'name': 'unique_asc_key', 'column_names': ['asc', 'key']},
+ {'name': 'i.have.dots', 'column_names': ['b']},
],
key=operator.itemgetter('name')
)
#!
AssertionError: {'column_names': ['b'], 'name': 'i.have.dots'} != {'column_names': [u'b'], 'name': None}
Metadata
Metadata
Assignees
Labels
Type
Projects
Relationships
Development
No branches or pull requests
Activity
sqlalchemy-bot commentedon Jul 21, 2015
Michael Bayer (@zzzeek) wrote:
backport to 0.9.10 and also release 0.9.10
sqlalchemy-bot commentedon Jul 21, 2015
Michael Bayer (@zzzeek) wrote:
that included non-alphabetic characters in the names, like dots or
spaces, would not be reflected with their name.
fixes sqlite unique constraint reflection w/ dots in names #3495
→ f39e692
sqlalchemy-bot commentedon Jul 21, 2015
Michael Bayer (@zzzeek) wrote:
that included non-alphabetic characters in the names, like dots or
spaces, would not be reflected with their name.
fixes sqlite unique constraint reflection w/ dots in names #3495
(cherry picked from commit f39e692)
Conflicts:
lib/sqlalchemy/dialects/sqlite/base.py
→ 38d220c
sqlalchemy-bot commentedon Jul 21, 2015
Changes by Michael Bayer (@zzzeek):