Commit Graph

67 Commits

Author SHA1 Message Date
shimizukawa
487f3db5f6 To simplify, sphinx uses external mock package even if unittest.mock exists. 2016-10-15 16:22:27 +09:00
Takeshi KOMIYA
9358ea239b Add testcase for toctree 2016-09-30 10:42:18 +09:00
Takeshi KOMIYA
51937f8089 #2597: Show warning messages as darkred 2016-06-24 14:23:19 +09:00
Takeshi KOMIYA
80921b2ab8 Fix flake8 violation under tests/ 2016-06-12 00:02:11 +09:00
Jakub Wilk
74b15cc64c Fix format string in assert_in()/assert_not_in() 2016-05-16 17:19:53 +02:00
Takeshi KOMIYA
dda98c7d53 Merge branch 'useless-test-noise' 2016-03-03 23:01:34 +09:00
Takeshi KOMIYA
1f5aa28db0 Fix #1921: Support figure substitutions by locale 2016-02-22 21:32:05 +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
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
Robert Lehmann
657c53b0f5 Fixes #1785: Reduce output for test generators. 2015-03-20 22:26:32 +01: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
tk0miya
0f1d8433e7 Fix #1607: Sphinx crashes on building latexpdf with "howto" class 2014-11-24 12:13:17 +09:00
Georg Brandl
db57e82afe Stop removing temporary test data after tests. 2014-11-06 09:10:32 +01:00
Georg Brandl
ac690b4b07 move new assertion helpers to util.py 2014-09-21 18:54:01 +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
Takayuki Shimizukawa
60911efe05 Merge with tip 2014-08-18 23:20:42 +09:00
Takayuki Shimizukawa
ed9de1c9e8 * provide _copy_to_temp option for TestApp() 2014-08-10 22:23:52 +09:00
Takayuki Shimizukawa
68949656b2 * for PR#264: update CHANGES, add tests, small refactoring. 2014-08-10 16:28:31 +09:00
Takayuki Shimizukawa
eaed3ca9f1 Automatically compile `*.mo files from *.po` files. 2014-08-03 16:22:08 +09:00
Takayuki Shimizukawa
da20c3713b merge with stable 2014-07-13 11:43:12 +09:00
Takayuki Shimizukawa
e2ed97031d use test generator nosetests feature. 2014-07-12 22:14:14 +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
Dmitry Shachnev
ce2185ce27 Modernize the code now that Python 2.5 is no longer supported
- Use print function instead of print statement;
- Use new exception handling;
- Use in operator instead of has_key();
- Do not use tuple arguments in functions;
- Other miscellaneous improvements.

This is based on output of `futurize --stage1`, with some
manual corrections.
2014-01-19 14:17:10 +04:00
Takayuki Shimizukawa
a8fc938d1b Drop python-2.5 and remove 2.4,2.5 support codes 2013-12-15 14:16:53 +09:00
Takayuki Shimizukawa
529e45a980 Fix text builder did not respect wide/fullwidth charactors for title line. 2013-02-05 23:57:26 +09:00
Jonathan Waltman
268b009017 Move "only" directive tests to a seperate test root. 2013-01-05 20:14:48 -06:00
Georg Brandl
151856819c Copyright update. 2013-01-01 22:13:15 +01:00
Takayuki Shimizukawa
f9b1f7d2f2 fix: ziptheme.zip block removing test temporary directory on Windows. 2012-11-04 09:30:19 +09:00
Georg Brandl
3c2662580a Cleanup after pull from https://bitbucket.org/timmartin/sphinx 2011-05-15 11:15:20 +02:00
Tim Martin
9b112e0619 Expanded the docstring of gen_with_app to explain how it differs from with_app 2011-04-13 00:00:45 +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
2f2a09c919 Improve websupport test skipping, add new decorator for search adapter skipping. 2010-08-21 23:03:06 +02:00
Georg Brandl
bcf84166ca Add skip_if and skip_unless test decorators. 2010-08-21 22:47:18 +02:00
Georg Brandl
3002eb391f Make string contents nongreedy. 2010-07-28 19:15:04 +02:00
Daniel Neuhäuser
98b6073a7e Fixed warnings in python3 2010-06-20 22:39:38 +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
c00fd08aa9 Clean up unused imports. 2010-01-17 12:02:15 +01:00
Georg Brandl
faeec5cbbb merge with trunk 2010-01-02 21:03:56 +01:00
Georg Brandl
f6a56192d1 Happy new year! 2010-01-01 14:09:13 +01:00
Georg Brandl
6c09b9fb18 test utils: make with_tempdir stackable. 2009-09-09 16:39:38 +02:00
Georg Brandl
1878c02078 Restore 2.4 compatibility and fix removing the generated file properly. 2009-03-16 23:46:58 +01:00
Georg Brandl
bd5eb9f417 Fix a bug in FilenameUniqDict that led to test failures. 2009-02-19 22:36:00 +01:00