summaryrefslogtreecommitdiff
path: root/tests/test_sql.py
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright year to 2023.Matthäus G. Chajdas2023-03-291-1/+1
|
* Happy new year.Georg Brandl2022-01-251-1/+1
|
* tests: code style fixupsGeorg Brandl2021-01-201-5/+5
|
* Run pyupgrade across codebase to modernize syntax and patterns (#1622)Jon Dufresne2021-01-171-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | pyupgrade is a tool to automatically upgrade syntax for newer versions of the Python language. The project has been Python 3 only since 35544e2fc6eed0ce4a27ec7285aac71ff0ddc473, allowing for several cleanups: - Remove unnecessary "-*- coding: utf-8 -*-" cookie. Python 3 reads all source files as utf-8 by default. - Replace IOError/EnvironmentError with OSError. Python 3 unified these exceptions. The old names are aliases only. - Use the Python 3 shorter super() syntax. - Remove "utf8" argument form encode/decode. In Python 3, this value is the default. - Remove "r" from open() calls. In Python 3, this value is the default. - Remove u prefix from Unicode strings. In Python 3, all strings are Unicode. - Replace io.open() with builtin open(). In Python 3, these functions are functionally equivalent. Co-authored-by: Matthäus G. Chajdas <Anteru@users.noreply.github.com>
* Do not guess MIME or SQL without reasonGeorg Brandl2021-01-171-1/+0
| | | | constant returns from analyse_text are not useful.
* Bump copyright year.Matthäus G. Chajdas2021-01-031-1/+1
|
* all: remove "u" string prefix (#1536)Georg Brandl2020-09-081-1/+1
| | | | | | | | | | | * all: remove "u" string prefix * util: remove unirange Since Python 3.3, all builds are wide unicode compatible. * unistring: remove support for narrow-unicode builds which stopped being relevant with Python 3.3
* Update copyright year (fixes #1514.)Matthäus G. Chajdas2020-08-221-1/+1
|
* Remove unittest classes from the test suite.Georg Brandl2019-11-101-102/+101
|
* Added analyse_text() that attempts to detect MySQL and Transact-SQL.Thomas Aglassinger2016-10-011-1/+45
|
* Fixed detection of Number.Float in Transact-SQL for corner cases like "1." ↵Thomas Aglassinger2016-03-241-2/+7
| | | | and "1.e2."
* Fixed that regex to detect Number.Float shadowed regex for Number.Integer ↵Thomas Aglassinger2016-03-231-0/+4
| | | | for Transact-SQL.
* Fixed broken test case by properly naming Transact-SQL example file to ↵Thomas Aglassinger2016-03-221-12/+1
| | | | prevent ResourceLexer from attempting to lex it.
* Added lexer for Transact-SQL as used by Microsoft SQL Server and Sybase.Thomas Aglassinger2016-03-211-0/+76