summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAndi Albrecht <albrecht.andi@gmail.com>2022-09-10 10:08:02 +0200
committerAndi Albrecht <albrecht.andi@gmail.com>2022-09-10 10:08:02 +0200
commitb72a8ff42f53cba0517b1dd9e8af051b4a060ecf (patch)
treed193827bbf5e85809b56cbbeefab07419164cf59 /tests
parent07a2e81532daf62f1f4360e48ff322abeade7315 (diff)
downloadsqlparse-b72a8ff42f53cba0517b1dd9e8af051b4a060ecf.tar.gz
Allow any unicode character as identifier name (fixes #641).
Diffstat (limited to 'tests')
-rw-r--r--tests/test_parse.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_parse.py b/tests/test_parse.py
index caba537..ec327ac 100644
--- a/tests/test_parse.py
+++ b/tests/test_parse.py
@@ -148,6 +148,7 @@ def test_quoted_identifier():
@pytest.mark.parametrize('name', [
'foo', '_foo', # issue175
'1_data', # valid MySQL table name, see issue337
+ '業者名稱', # valid at least for SQLite3, see issue641
])
def test_valid_identifier_names(name):
t = sqlparse.parse(name)[0].tokens