summaryrefslogtreecommitdiff
path: root/tests/test_pycode.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove unnecessary encoding cookie from Python source filesJon Dufresne2018-12-161-1/+0
| | | | | | | | | | | | | | In Python 3, the default encoding of source files is utf-8. The encoding cookie is now unnecessary and redundant so remove it. For more details, see the docs: https://docs.python.org/3/howto/unicode.html#the-string-type > The default encoding for Python source code is UTF-8, so you can > simply include a Unicode character in a string literal ... Includes a fix for the flake8 header checks to stop expecting an encoding cookie.
* refactoring: Drop PY2 and PY3 flagsTakeshi KOMIYA2018-09-221-10/+2
|
* Fix #5290: autodoc: failed to analyze source code in egg packageTakeshi KOMIYA2018-09-061-0/+26
|
* Fix flake8 violationsTakeshi KOMIYA2018-02-191-0/+1
|
* tests: Remove 'tests/run.py'Stephen Finucane2017-12-291-1/+2
| | | | | | | This is no longer necessary. One test needs to be modified to deal with how 'python -m pytest' modifies the PATH. Signed-off-by: Stephen Finucane <stephen@that.guru>
* pycode: Replace pgen2 by own parserTakeshi KOMIYA2017-07-261-18/+34
|
* Add testcase for onelinerTakeshi KOMIYA2017-07-261-2/+7
|
* Add testcase for pycode interfaceTakeshi KOMIYA2017-07-261-0/+44
|
* Add testcode for sphinx.pycodeTakeshi KOMIYA2017-03-181-0/+90