summaryrefslogtreecommitdiff
path: root/tests/test_pycode.py
Commit message (Collapse)AuthorAgeFilesLines
* Deprecate sphinx.util:detect_encoding() and ModuleAnalyzer.encodingTakeshi KOMIYA2019-12-271-5/+1
|
* Old get_module_source API restored, new version moved to ModuleAnalyzer ↵hkm2019-12-251-0/+11
| | | | class, tests updated
* restore sys.path with <finally> statementkpnr2019-12-161-4/+7
|
* Added test case for non ASCII & non UTF8 encoding Windows-1251 in ↵hkm2019-12-151-1/+7
| | | | test_pycode section
* Test suite updated - encoding not detected when getting sources from native ↵hkm2019-12-151-1/+2
| | | | loader
* 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