Takeshi KOMIYA
cf2061dfad
Fix flake8 violations
2017-01-26 01:13:17 +09:00
shimizukawa
561abdd164
pytest optimizatoin:
...
- remote using deprecated decorators
- remove gen_with_app
- remove yield testing
- remove pytest warnings
- refactoring
2017-01-08 15:14:38 +09:00
shimizukawa
baaef9146d
pytest: remove deprecated with_app decorator functions
2017-01-06 01:14:47 +09:00
shimizukawa
f962ad67d2
pytest: remove deprecated raises and raises_msg assert functions
2017-01-06 00:46:42 +09:00
shimizukawa
d0a33dd785
pytest: remove deprecated with_tempdir decorator
2017-01-06 00:26:01 +09:00
shimizukawa
5b7d237db3
pytest migration
2017-01-04 00:59:30 +09:00
shimizukawa
487f3db5f6
To simplify, sphinx uses external mock package even if unittest.mock exists.
2016-10-15 16:22:27 +09:00
Takeshi KOMIYA
5991bbe4ac
Add sphinx.config.ENUM to check the config values is in candidates
2016-07-07 23:42:49 +09:00
Takeshi KOMIYA
88c026d0bd
Merge branch 'stable'
2016-06-12 00:42:47 +09:00
Takeshi KOMIYA
80921b2ab8
Fix flake8 violation under tests/
2016-06-12 00:02:11 +09:00
Takeshi KOMIYA
e3def45ffe
Use locales
as a default value of locale_dirs
2016-04-25 22:25:58 +09:00
shimizukawa
0c33d7df78
import mock from util instead of directly.
2016-04-02 22:15:13 +09:00
Takeshi KOMIYA
606daeda18
Fix the confval type checker emits warnings if unicode is given to confvals which expects string value
2016-02-23 11:14:58 +09:00
Takeshi KOMIYA
04a8c26eab
Fix #2235 : `needs_sphinx
` supports micro version comparison
2016-01-21 13:51:17 +09:00
Georg Brandl
4f72bdb722
Merge branch 'stable'
2016-01-14 22:54:08 +01:00
Georg Brandl
46d7e8558e
Obligatory copyright update.
2016-01-14 22:54:04 +01:00
Robert Lehmann
c5f412f491
Fix typo.
2015-10-09 08:24:17 +02:00
Robert Lehmann
ca655f31a8
Fixes #1984 : Hint None being valid for primary_domain.
2015-09-11 09:56:09 +02:00
Robert Lehmann
8b00f57f4d
Fixed #1786 : Add configurable type hints.
...
This adds the option of giving, in addition to the type of the default
value, hints about permissible types for configuration values.
2015-09-11 09:51:14 +02:00
Georg Brandl
1d7db8da46
fixup test suite for already-registered warnings
2015-07-22 19:34:37 +02:00
Georg Brandl
a23903d8d5
Merge branch 'stable'
2015-01-03 21:41:14 +01:00
Georg Brandl
567d52f199
all: update copyright
2015-01-03 21:36:32 +01:00
Takayuki Shimizukawa
32e4fab86b
fix py3 error for pull request #314
2014-12-04 17:26:13 +09:00
Robert Lehmann
c528b65292
Refactor tests.
2014-11-09 09:55:56 +01:00
Robert Lehmann
ed5f77916f
Spec out configuration type checks.
2014-11-05 14:33:30 +01:00
Robert Lehmann
5cc72ca52b
Checked configuration values for their types. Fixes #1150 .
2014-10-30 15:46:02 +01: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
Takayuki Shimizukawa
da20c3713b
merge with stable
2014-07-13 11:43:12 +09:00
Takayuki Shimizukawa
f781f55b28
* With non-callable setup
in a conf.py, now sphinx-build emits user-friendly error message. Closes #1499
2014-06-30 22:54:28 +09:00
Takayuki Shimizukawa
ba4dcaa8dd
use b prefix for bytes instead of sphinx.pycompat.b function.
2014-05-01 22:54:09 +09:00
Takayuki Shimizukawa
1e58062692
remove 'six' name except importing line.
2014-04-30 21:30:46 +09:00
Takayuki Shimizukawa
68290a266c
introduce the six module and reduce sphinx.util.pycompat implementation. refs #1350 .
2014-04-29 11:46:47 +09:00
Takayuki Shimizukawa
1e4b390b22
remove tests.util.write_file duplicated implementation.
2014-04-28 19:58:26 +09:00
Georg Brandl
ac92719ac3
Update copyright year.
2014-03-01 08:18:23 +01:00
Georg Brandl
e030031321
Update copyright year.
2014-03-01 08:18:16 +01:00
Georg Brandl
8fdcb803cf
d98e70c13eff followup: only do type conversion of confoverrides if the values are strings and add a test
2014-01-10 22:10:29 +01:00
Georg Brandl
1af3e3ea71
tests: replace "from util import *" by explicit imports
2013-04-01 11:39:32 +02:00
Takayuki Shimizukawa
05718e4a1a
conf.py now accept CRLF end-of-line.
2013-02-10 15:25:45 +09:00
Georg Brandl
151856819c
Copyright update.
2013-01-01 22:13:15 +01:00
Georg Brandl
0d6c738b02
Fix test after config default change.
2011-01-06 20:34:37 +01:00
Georg Brandl
17efae5622
merge with 1.0
2011-01-04 11:29:09 +01:00
Georg Brandl
0e1db6ad90
New year update.
2011-01-04 10:00:51 +01:00
Georg Brandl
bd950c3bb4
Fix test_config under 2.x.
2010-08-10 17:16:49 +02:00
Georg Brandl
0e84c75822
Improve support for automatic 2to3 conversion of config files. It now kicks in whenever the original file raises SyntaxErrors on compiling.
2010-07-31 19:47:15 +02:00
Daniel Neuhäuser
710a7d75a1
Fix warning for bytestrings with non-ascii content for python3
2010-06-20 19:34:49 +02:00
Daniel Neuhäuser
31275a34c2
Fix encoding in config test and open configs in binary mode to warn for possible encoding errors
2010-05-30 17:51:14 +02:00
Georg Brandl
baf0087f3a
merge with trunk
2010-01-17 18:29:16 +01:00
Georg Brandl
5a9a454631
Added `needs_sphinx
config value and
Sphinx.require_sphinx
` application API function.
2010-01-17 18:24:35 +01:00
Georg Brandl
5d40d8bd63
merge with trunk
2010-01-17 14:24:24 +01:00
Georg Brandl
8bb4d4320d
merge with 0.6
2010-01-12 10:47:29 +00:00