Commit Graph

56 Commits

Author SHA1 Message Date
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
Georg Brandl
8bf6fa5a74 Make the HTML xpath tests generator tests. 2009-02-19 22:12:47 +01:00
Georg Brandl
4c81b055c8 Added an `only` directive that can selectively include text
based on enabled "tags".  Tags can be given on the command
line.  Also, the current builder output format (e.g. "html" or
"latex") is always a defined tag.
2009-02-19 21:56:34 +01:00
Georg Brandl
b42e9303f4 Update the test_autodoc for the autodoc refactorings and fix a few remaining bugs. 2009-02-17 23:55:05 +01:00
Georg Brandl
aedbdd953d Fix more line length and trailing whitespace. 2009-01-10 22:18:18 +01:00
Georg Brandl
f16f94f2cd Merge in copyright style changes from 0.5. 2009-01-03 12:15:19 +01:00
Georg Brandl
0b28b3e6f6 Switch copyright and license tags to single style. Add contributor
names in AUTHORS instead, and add the license of etree13 to
LICENSE.
2009-01-03 11:57:07 +01:00
Georg Brandl
26d7aafaae Explicitly refer to the license in :license: tags. 2008-12-27 12:19:17 +01:00
Georg Brandl
409cc1fe39 Remove sphinx.builder usage. 2008-12-23 20:04:45 +01:00
Georg Brandl
2bb2e78488 2.4 compatibility fix. 2008-11-23 19:02:10 +01:00
Georg Brandl
f0605a40a4 Merged revisions 65640,65675,65699,65701 via svnmerge from
svn+ssh://pythondev@svn.python.org/doctools/branches/0.4.x

........
  r65640 | georg.brandl | 2008-08-11 16:11:17 +0200 (Mon, 11 Aug 2008) | 2 lines

  More info in intro.
........
  r65675 | georg.brandl | 2008-08-14 13:53:02 +0200 (Thu, 14 Aug 2008) | 2 lines

  #3546: add missing linebreak.
........
  r65699 | benjamin.peterson | 2008-08-15 23:02:22 +0200 (Fri, 15 Aug 2008) | 4 lines

  rename util.with_testapp to util.with_app; nose was running it

  also make an assert more informative
........
  r65701 | benjamin.peterson | 2008-08-16 00:00:54 +0200 (Sat, 16 Aug 2008) | 1 line

  add some tests for sphinx.application
........
2008-08-23 15:04:45 +00:00
Georg Brandl
432115123e Merged revisions 65529 via svnmerge from
svn+ssh://pythondev@svn.python.org/doctools/branches/0.4.x

........
  r65529 | georg.brandl | 2008-08-04 22:19:30 +0000 (Mon, 04 Aug 2008) | 6 lines

  Revert r65499 which was not well thought out. Instead, put
  the whole build dir in exclude_trees by default in quickstart.

  Also, revisit application cleanup and make it consistently use
  less setup time while still trying to leave to traces.
........
2008-08-04 22:20:44 +00:00