summaryrefslogtreecommitdiff
path: root/tests/test_errors.py
Commit message (Collapse)AuthorAgeFilesLines
* Copyright bumped to 2020Daniele Varrazzo2020-01-171-0/+1
|
* Move imports to the top of the module across testsJon Dufresne2019-03-161-7/+3
| | | | | | | | | | Allows removing many duplicate imports and better follows PEP8 guidelines: https://www.python.org/dev/peps/pep-0008/#imports > Imports are always put at the top of the file, just after any module > comments and docstrings, and before module globals and constants.
* Copyright year updatedDaniele Varrazzo2019-02-171-1/+1
| | | | | ag -l Copyright | xargs sed -i \ "s/\(.*copyright (C) [0-9]\+\)\(-[0-9]\+\)\?\(.*\)/\1-$(date +%Y)\3/I"
* Fixed use of StandardError in testDaniele Varrazzo2019-02-111-1/+1
| | | | In Py3 it's gone.
* SQLSTATE error classes implemented in CDaniele Varrazzo2019-02-101-3/+22
| | | | The module is only used to export them to Python.
* Full flake8 3.5 cleanupDaniele Varrazzo2018-10-231-0/+1
|
* Added errors.lookup() functionDaniele Varrazzo2018-10-151-0/+8
|
* Read exceptions to raise from a Python moduleDaniele Varrazzo2018-08-171-0/+62