Takeshi KOMIYA
eaf495c3c4
A happy new year!
2020-01-01 14:27:43 +09:00
Takeshi KOMIYA
76e9f57c2e
Merge branch '1.8'
2019-01-02 16:16:25 +09:00
Takeshi KOMIYA
1b1ebd2c75
A happy new year!
2019-01-02 16:00:30 +09:00
Jon Dufresne
bade33c7e4
Remove unnecessary encoding cookie from Python source files
...
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.
2018-12-16 12:22:12 -08:00
Takeshi KOMIYA
d6d4406ce9
Fix #5770 : doctest: Follow highlight_language on highlighting doctest block
2018-12-15 18:35:12 +09:00
Takeshi KOMIYA
3a2418a827
refactoring: Drop PY2 and PY3 flags
2018-09-22 21:27:59 +09:00
Antti Kaihola
098f37fddf
Ref #5273 : doctest: add test for skipif calling global setup/cleanup
...
Ensure that `doctest_global_setup` and `doctest_global_cleanup` are executed
before and after evaluating each `:skipif:` option.
2018-08-16 17:56:29 +03:00
Antti Kaihola
9185c2c356
Ref #5273 : doctest: add tests for the :skipif: option
2018-08-16 13:22:59 +03:00
Takeshi KOMIYA
f969edfaa8
Fix flake8 violations on tests
2018-07-28 20:19:30 +09:00
Takeshi KOMIYA
d8f4e47fc8
Fix broken testcase caused by path separator
2018-05-02 02:13:00 +09:00
Takeshi KOMIYA
f7027049b1
Fix flake8 violations
2018-02-19 23:20:56 +09:00
Zac-HD
b62628f678
Avoid misreporting line number
2018-02-09 11:05:26 +11:00
Zac-HD
68bccb01ac
Get correct filename for each doctest block
...
This is complicated because doctests may be included from other files,
eg. dosctrings in a Python module.
2018-02-09 11:05:25 +11:00
Zac-HD
973f2680d6
Add ext.autodoc + ext.doctest test root
2018-02-09 10:39:25 +11:00
Takeshi KOMIYA
7ba54500fc
Fix #4183 : doctest: `:pyversion:
` option also follows PEP-440 specification
2018-01-08 11:59:50 +09:00
Takeshi KOMIYA
2426cedb8b
A happy new year!
2018-01-01 01:06:58 +09:00
Takeshi KOMIYA
c4e364ee63
Rename tests directory; roots/test-doctest -> roots/test-ext-doctest
2017-11-02 00:03:29 +09:00
Takeshi KOMIYA
8f9dd64992
Merge branch 'stable'
2017-03-26 11:52:15 +09:00
Takeshi KOMIYA
c57e47e042
Year++
2017-03-26 11:49:34 +09:00
Marco Buttu
e7166bbc08
Removed useless import
2017-01-15 21:13:34 +01:00
Marco Buttu
44732c6aea
compare_version() replaces proper_pyversion()
2017-01-15 21:07:44 +01:00
Marco Buttu
960f889a2c
Added pyversion option for doctest (issue 3303)
...
Code, tests and documentation.
2017-01-15 10:27:34 +01:00
Marco Buttu
19298dec33
Added pyversion option for doctest (issue 3303)
2017-01-14 18:57:19 +01:00
shimizukawa
baaef9146d
pytest: remove deprecated with_app decorator functions
2017-01-06 01:14:47 +09:00
Georg Brandl
46d7e8558e
Obligatory copyright update.
2016-01-14 22:54:04 +01:00
Georg Brandl
a23903d8d5
Merge branch 'stable'
2015-01-03 21:41:14 +01:00
Georg Brandl
a73ab32bc5
Split viewcode and linkcode tests out of main test root.
2014-09-21 17:34:16 +02:00
Georg Brandl
d47a7587f9
Complete test suite overhaul.
...
* rename a few test modules to make the names more consistent
* do not copy/use Sphinx from build/ (unnecessary without 2to3)
* use a temporary dir for *all* test projects, the source tree
will stay pristine that way (default is tests/build)
* speed up tests by ~3x by splitting up test projects and avoiding
rebuilds
2014-09-21 17:17:02 +02:00