[Python-modules-commits] [pytest] 01/08: Import pytest_3.0.6.orig.tar.gz
Sebastian Ramacher
sramacher at moszumanska.debian.org
Thu Jan 26 17:12:40 UTC 2017
This is an automated email from the git hooks/post-receive script.
sramacher pushed a commit to branch master
in repository pytest.
commit 094551e172d9415ad7c68b3d0aa2e63b76e920bc
Author: Sebastian Ramacher <sramacher at debian.org>
Date: Thu Jan 26 09:09:10 2017 +0100
Import pytest_3.0.6.orig.tar.gz
---
.gitattributes | 1 +
.gitignore | 36 +
AUTHORS | 3 +
CHANGELOG.rst | 345 ++---
PKG-INFO | 4 +-
_pytest/__init__.py | 2 +-
_pytest/cacheprovider.py | 0
_pytest/compat.py | 21 +-
_pytest/config.py | 82 +-
_pytest/main.py | 48 +-
_pytest/monkeypatch.py | 6 +-
_pytest/pytester.py | 7 +-
_pytest/recwarn.py | 5 +-
_pytest/skipping.py | 2 +-
doc/en/announce/index.rst | 1 +
doc/en/announce/release-2.0.2.rst | 4 +-
doc/en/announce/release-2.0.3.rst | 4 +-
doc/en/announce/release-2.2.1.rst | 2 +-
doc/en/announce/release-2.2.4.rst | 2 +-
doc/en/announce/release-2.3.0.rst | 4 +-
doc/en/announce/release-2.3.2.rst | 2 +-
doc/en/announce/release-2.3.3.rst | 6 +-
doc/en/announce/release-2.3.5.rst | 8 +-
doc/en/announce/release-2.4.0.rst | 4 +-
doc/en/announce/release-2.5.0.rst | 4 +-
doc/en/announce/release-2.5.2.rst | 2 +-
doc/en/announce/release-2.6.3.rst | 2 +-
doc/en/announce/release-2.7.1.rst | 2 +-
doc/en/announce/release-2.9.2.rst | 2 +-
doc/en/announce/release-3.0.6.rst | 33 +
doc/en/assert.rst | 53 +-
doc/en/cache.rst | 8 +-
doc/en/capture.rst | 2 +-
doc/en/conf.py | 2 +-
doc/en/doctest.rst | 2 +-
doc/en/example/markers.rst | 50 +-
doc/en/example/nonpython.rst | 6 +-
doc/en/example/parametrize.rst | 20 +-
doc/en/example/pythoncollection.rst | 8 +-
doc/en/example/reportingdemo.rst | 2 +-
doc/en/example/simple.rst | 28 +-
doc/en/faq.rst | 8 -
doc/en/fixture.rst | 19 +-
doc/en/funcarg_compare.rst | 2 +-
doc/en/getting-started.rst | 4 +-
doc/en/goodpractices.rst | 2 +-
doc/en/index.rst | 2 +-
doc/en/monkeypatch.rst | 4 +-
doc/en/parametrize.rst | 4 +-
doc/en/{parametrize.rst => parametrize.rst.orig} | 26 +-
doc/en/projects.rst | 2 +-
doc/en/skipping.rst | 4 +-
doc/en/test/plugin/xdist.rst | 2 +-
doc/en/tmpdir.rst | 2 +-
doc/en/unittest.rst | 2 +-
doc/en/usage.rst | 8 +-
doc/en/writing_plugins.rst | 6 +-
pytest.egg-info/PKG-INFO | 4 +-
pytest.egg-info/SOURCES.txt | 6 +
pytest.egg-info/requires.txt | 1 +
setup.cfg | 4 +-
setup.py | 3 +-
testing/python/metafunc.py.orig | 1494 ++++++++++++++++++++++
testing/test_assertion.py | 17 +
testing/test_assertrewrite.py | 18 +-
testing/test_cache.py | 0
testing/test_compat.py | 50 +
testing/test_config.py | 38 +
testing/test_doctest.py | 8 +-
testing/test_monkeypatch.py | 14 +-
testing/test_pytester.py | 7 +
testing/test_recwarn.py | 33 +-
tox.ini | 7 +-
73 files changed, 2220 insertions(+), 406 deletions(-)
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..242d3da
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1 @@
+CHANGELOG merge=union
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..0e42b11
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,36 @@
+# Automatically generated by `hgimportsvn`
+.svn
+.hgsvn
+
+# Ignore local virtualenvs
+lib/
+bin/
+include/
+.Python/
+
+# These lines are suggested according to the svn:ignore property
+# Feel free to enable them by uncommenting them
+*.pyc
+*.pyo
+*.swp
+*.class
+*.orig
+*~
+.hypothesis/
+
+.eggs/
+
+doc/*/_build
+build/
+dist/
+*.egg-info
+issue/
+env/
+.env/
+3rdparty/
+.tox
+.cache
+.coverage
+.ropeproject
+.idea
+.hypothesis
diff --git a/AUTHORS b/AUTHORS
index 8c7cb19..acf715c 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -71,6 +71,7 @@ Janne Vanhala
Jason R. Coombs
Javier Domingo Cansino
Javier Romero
+Jeff Widman
John Towler
Jon Sonesen
Jordan Guymon
@@ -82,6 +83,7 @@ Katarzyna Jachim
Kevin Cox
Lee Kamentsky
Lev Maximov
+Loic Esteve
Lukas Bednar
Luke Murphy
Maciek Fijalkowski
@@ -139,3 +141,4 @@ Tyler Goodlet
Vasily Kuznetsov
Wouter van Ackooy
Xuecong Liao
+Eli Boyarski
diff --git a/CHANGELOG.rst b/CHANGELOG.rst
index cfcb012..bf29797 100644
--- a/CHANGELOG.rst
+++ b/CHANGELOG.rst
@@ -1,5 +1,52 @@
-3.0.5
-=====
+3.0.6 (2017-01-29)
+=======================
+
+* pytest no longer generates ``PendingDeprecationWarning`` from its own operations, which was introduced by mistake in version ``3.0.5`` (`#2118`_).
+ Thanks to `@nicoddemus`_ for the report and `@RonnyPfannschmidt`_ for the PR.
+
+
+* pytest no longer recognizes coroutine functions as yield tests (`#2129`_).
+ Thanks to `@malinoff`_ for the PR.
+
+* Plugins loaded by the ``PYTEST_PLUGINS`` environment variable are now automatically
+ considered for assertion rewriting (`#2185`_).
+ Thanks `@nicoddemus`_ for the PR.
+
+* Improve error message when pytest.warns fails (`#2150`_). The type(s) of the
+ expected warnings and the list of caught warnings is added to the
+ error message. Thanks `@lesteve`_ for the PR.
+
+* Fix ``pytester`` internal plugin to work correctly with latest versions of
+ ``zope.interface`` (`#1989`_). Thanks `@nicoddemus`_ for the PR.
+
+* Assert statements of the ``pytester`` plugin again benefit from assertion rewriting (`#1920`_).
+ Thanks `@RonnyPfannschmidt`_ for the report and `@nicoddemus`_ for the PR.
+
+* Specifying tests with colons like ``test_foo.py::test_bar`` for tests in
+ subdirectories with ini configuration files now uses the correct ini file
+ (`#2148`_). Thanks `@pelme`_.
+
+* Fail ``testdir.runpytest().assert_outcomes()`` explicitly if the pytest
+ terminal output it relies on is missing. Thanks to `@eli-b`_ for the PR.
+
+
+.. _ at lesteve: https://github.com/lesteve
+.. _ at malinoff: https://github.com/malinoff
+.. _ at pelme: https://github.com/pelme
+.. _ at eli-b: https://github.com/eli-b
+
+.. _#2118: https://github.com/pytest-dev/pytest/issues/2118
+
+.. _#1989: https://github.com/pytest-dev/pytest/issues/1989
+.. _#1920: https://github.com/pytest-dev/pytest/issues/1920
+.. _#2129: https://github.com/pytest-dev/pytest/issues/2129
+.. _#2148: https://github.com/pytest-dev/pytest/issues/2148
+.. _#2150: https://github.com/pytest-dev/pytest/issues/2150
+.. _#2185: https://github.com/pytest-dev/pytest/issues/2185
+
+
+3.0.5 (2016-12-05)
+==================
* Add warning when not passing ``option=value`` correctly to ``-o/--override-ini`` (`#2105`_).
Also improved the help documentation. Thanks to `@mbukatov`_ for the report and
@@ -66,8 +113,8 @@
.. _#687: https://github.com/pytest-dev/pytest/issues/687
-3.0.4
-=====
+3.0.4 (2016-11-09)
+==================
* Import errors when collecting test modules now display the full traceback (`#1976`_).
Thanks `@cwitty`_ for the report and `@nicoddemus`_ for the PR.
@@ -120,8 +167,8 @@
.. _#1649: https://github.com/pytest-dev/pytest/issues/1649
-3.0.3
-=====
+3.0.3 (2016-09-28)
+==================
* The ``ids`` argument to ``parametrize`` again accepts ``unicode`` strings
in Python 2 (`#1905`_).
@@ -159,8 +206,8 @@
-3.0.2
-=====
+3.0.2 (2016-09-01)
+==================
* Improve error message when passing non-string ids to ``pytest.mark.parametrize`` (`#1857`_).
Thanks `@okken`_ for the report and `@nicoddemus`_ for the PR.
@@ -199,8 +246,8 @@
.. _#1898: https://github.com/pytest-dev/pytest/issues/1898
-3.0.1
-=====
+3.0.1 (2016-08-23)
+==================
* Fix regression when ``importorskip`` is used at module level (`#1822`_).
Thanks `@jaraco`_ and `@The-Compiler`_ for the report and `@nicoddemus`_ for the PR.
@@ -225,8 +272,8 @@
.. _#1849: https://github.com/pytest-dev/pytest/issues/1849
-3.0.0
-=====
+3.0.0 (2016-08-18)
+==================
**Incompatible changes**
@@ -651,8 +698,8 @@ time or change existing behaviors in order to make them less surprising/more use
.. _ at matthiasha: https://github.com/matthiasha
-2.9.2
-=====
+2.9.2 (2016-05-31)
+==================
**Bug Fixes**
@@ -663,7 +710,7 @@ time or change existing behaviors in order to make them less surprising/more use
Thanks `@astraw38`_ for reporting the issue (`#1496`_) and `@tomviner`_
for PR the (`#1524`_).
-* Fix win32 path issue when puttinging custom config file with absolute path
+* Fix win32 path issue when putting custom config file with absolute path
in ``pytest.main("-c your_absolute_path")``.
* Fix maximum recursion depth detection when raised error class is not aware
@@ -690,8 +737,8 @@ time or change existing behaviors in order to make them less surprising/more use
.. _ at astraw38: https://github.com/astraw38
-2.9.1
-=====
+2.9.1 (2016-03-17)
+==================
**Bug Fixes**
@@ -726,8 +773,8 @@ time or change existing behaviors in order to make them less surprising/more use
.. _ at asottile: https://github.com/asottile
-2.9.0
-=====
+2.9.0 (2016-02-29)
+==================
**New Features**
@@ -847,13 +894,13 @@ time or change existing behaviors in order to make them less surprising/more use
.. _ at pquentin: https://github.com/pquentin
.. _ at ioggstream: https://github.com/ioggstream
-2.8.7
-=====
+2.8.7 (2016-01-24)
+==================
- fix #1338: use predictable object resolution for monkeypatch
-2.8.6
-=====
+2.8.6 (2016-01-21)
+==================
- fix #1259: allow for double nodeids in junitxml,
this was a regression failing plugins combinations
@@ -884,8 +931,8 @@ time or change existing behaviors in order to make them less surprising/more use
Thanks Georgy Dyuldin for the PR.
-2.8.5
-=====
+2.8.5 (2015-12-11)
+==================
- fix #1243: fixed issue where class attributes injected during collection could break pytest.
PR by Alexei Kozlenok, thanks Ronny Pfannschmidt and Bruno Oliveira for the review and help.
@@ -898,8 +945,8 @@ time or change existing behaviors in order to make them less surprising/more use
Bruno Oliveira for the PR.
-2.8.4
-=====
+2.8.4 (2015-12-06)
+==================
- fix #1190: ``deprecated_call()`` now works when the deprecated
function has been already called by another test in the same
@@ -922,8 +969,8 @@ time or change existing behaviors in order to make them less surprising/more use
- a number of documentation modernizations wrt good practices.
Thanks Bruno Oliveira for the PR.
-2.8.3
-=====
+2.8.3 (2015-11-18)
+==================
- fix #1169: add __name__ attribute to testcases in TestCaseFunction to
support the @unittest.skip decorator on functions and methods.
@@ -950,8 +997,8 @@ time or change existing behaviors in order to make them less surprising/more use
system integrity protection (thanks Florian)
-2.8.2
-=====
+2.8.2 (2015-10-07)
+==================
- fix #1085: proper handling of encoding errors when passing encoded byte
strings to pytest.parametrize in Python 2.
@@ -970,8 +1017,8 @@ time or change existing behaviors in order to make them less surprising/more use
Thanks Sergey B Kirpichev and Vital Kudzelka for contributing and Bruno
Oliveira for the PR.
-2.8.1
-=====
+2.8.1 (2015-09-29)
+==================
- fix #1034: Add missing nodeid on pytest_logwarning call in
addhook. Thanks Simon Gomizelj for the PR.
@@ -995,7 +1042,7 @@ time or change existing behaviors in order to make them less surprising/more use
- (experimental) adapt more SEMVER style versioning and change meaning of
master branch in git repo: "master" branch now keeps the bugfixes, changes
- aimed for micro releases. "features" branch will only be be released
+ aimed for micro releases. "features" branch will only be released
with minor or major pytest releases.
- Fix issue #766 by removing documentation references to distutils.
@@ -1017,8 +1064,8 @@ time or change existing behaviors in order to make them less surprising/more use
- fix issue 1029: transform errors when writing cache values into pytest-warnings
-2.8.0
-=====
+2.8.0 (2015-09-18)
+==================
- new ``--lf`` and ``-ff`` options to run only the last failing tests or
"failing tests first" from the last run. This functionality is provided
@@ -1129,7 +1176,7 @@ time or change existing behaviors in order to make them less surprising/more use
- new option ``--import-mode`` to allow to change test module importing
behaviour to append to sys.path instead of prepending. This better allows
- to run test modules against installated versions of a package even if the
+ to run test modules against installed versions of a package even if the
package under test has the same import root. In this example::
testing/__init__.py
@@ -1207,8 +1254,8 @@ time or change existing behaviors in order to make them less surprising/more use
properly used to discover ``rootdir`` and ``ini`` files.
Thanks Peter Lauri for the report and Bruno Oliveira for the PR.
-2.7.3 (compared to 2.7.2)
-=============================
+2.7.3 (2015-09-15)
+==================
- Allow 'dev', 'rc', or other non-integer version strings in ``importorskip``.
Thanks to Eric Hunsberger for the PR.
@@ -1250,8 +1297,8 @@ time or change existing behaviors in order to make them less surprising/more use
directories created by this fixture (defaults to $TEMP/pytest-$USER).
Thanks Bruno Oliveira for the PR.
-2.7.2 (compared to 2.7.1)
-=============================
+2.7.2 (2015-06-23)
+==================
- fix issue767: pytest.raises value attribute does not contain the exception
instance on Python 2.6. Thanks Eric Siegerman for providing the test
@@ -1279,15 +1326,15 @@ time or change existing behaviors in order to make them less surprising/more use
which has a refined algorithm for traceback generation.
-2.7.1 (compared to 2.7.0)
-=============================
+2.7.1 (2015-05-19)
+==================
- fix issue731: do not get confused by the braces which may be present
and unbalanced in an object's repr while collapsing False
explanations. Thanks Carl Meyer for the report and test case.
- fix issue553: properly handling inspect.getsourcelines failures in
- FixtureLookupError which would lead to to an internal error,
+ FixtureLookupError which would lead to an internal error,
obfuscating the original problem. Thanks talljosh for initial
diagnose/patch and Bruno Oliveira for final patch.
@@ -1312,8 +1359,8 @@ time or change existing behaviors in order to make them less surprising/more use
- reintroduced _pytest fixture of the pytester plugin which is used
at least by pytest-xdist.
-2.7.0 (compared to 2.6.4)
-=============================
+2.7.0 (2015-03-26)
+==================
- fix issue435: make reload() work when assert rewriting is active.
Thanks Daniel Hahler.
@@ -1382,8 +1429,8 @@ time or change existing behaviors in order to make them less surprising/more use
``sys.last_traceback`` are set, so that a user can inspect the error
via postmortem debugging (almarklein).
-2.6.4
-=====
+2.6.4 (2014-10-24)
+==================
- Improve assertion failure reporting on iterables, by using ndiff and
pprint.
@@ -1411,8 +1458,8 @@ time or change existing behaviors in order to make them less surprising/more use
- fix issue614: fixed pastebin support.
-2.6.3
-=====
+2.6.3 (2014-09-24)
+==================
- fix issue575: xunit-xml was reporting collection errors as failures
instead of errors, thanks Oleg Sinyavskiy.
@@ -1430,7 +1477,7 @@ time or change existing behaviors in order to make them less surprising/more use
- fix conftest related fixture visibility issue: when running with a
CWD outside of a test package pytest would get fixture discovery wrong.
- Thanks to Wolfgang Schnerring for figuring out a reproducable example.
+ Thanks to Wolfgang Schnerring for figuring out a reproducible example.
- Introduce pytest_enter_pdb hook (needed e.g. by pytest_timeout to cancel the
timeout when interactively entering pdb). Thanks Wolfgang Schnerring.
@@ -1438,8 +1485,8 @@ time or change existing behaviors in order to make them less surprising/more use
- check xfail/skip also with non-python function test items. Thanks
Floris Bruynooghe.
-2.6.2
-=====
+2.6.2 (2014-09-05)
+==================
- Added function pytest.freeze_includes(), which makes it easy to embed
pytest into executables using tools like cx_freeze.
@@ -1467,8 +1514,8 @@ time or change existing behaviors in order to make them less surprising/more use
replace the py.test introspection message but are shown in addition
to them.
-2.6.1
-=====
+2.6.1 (2014-08-07)
+==================
- No longer show line numbers in the --verbose output, the output is now
purely the nodeid. The line number is still shown in failure reports.
@@ -1604,8 +1651,8 @@ time or change existing behaviors in order to make them less surprising/more use
in monkeypatch plugin. Improves output in documentation.
-2.5.2
-=====
+2.5.2 (2014-01-29)
+==================
- fix issue409 -- better interoperate with cx_freeze by not
trying to import from collections.abc which causes problems
@@ -1629,11 +1676,11 @@ time or change existing behaviors in order to make them less surprising/more use
- fix issue429: comparing byte strings with non-ascii chars in assert
expressions now work better. Thanks Floris Bruynooghe.
-- make capfd/capsys.capture private, its unused and shouldnt be exposed
+- make capfd/capsys.capture private, its unused and shouldn't be exposed
-2.5.1
-=====
+2.5.1 (2013-12-17)
+==================
- merge new documentation styling PR from Tobias Bieniek.
@@ -1653,8 +1700,8 @@ time or change existing behaviors in order to make them less surprising/more use
-2.5.0
-=====
+2.5.0 (2013-12-12)
+==================
- dropped python2.5 from automated release testing of pytest itself
which means it's probably going to break soon (but still works
@@ -1686,7 +1733,7 @@ time or change existing behaviors in order to make them less surprising/more use
to problems for more than >966 non-function scoped parameters).
- fix issue290 - there is preliminary support now for parametrizing
- with repeated same values (sometimes useful to to test if calling
+ with repeated same values (sometimes useful to test if calling
a second time works as with the first time).
- close issue240 - document precisely how pytest module importing
@@ -1789,8 +1836,8 @@ time or change existing behaviors in order to make them less surprising/more use
- fix verbose reporting for @mock'd test functions
-2.4.2
-=====
+2.4.2 (2013-10-04)
+==================
- on Windows require colorama and a newer py lib so that py.io.TerminalWriter()
now uses colorama instead of its own ctypes hacks. (fixes issue365)
@@ -1820,8 +1867,8 @@ time or change existing behaviors in order to make them less surprising/more use
- add pluginmanager.do_configure(config) as a link to
config.do_configure() for plugin-compatibility
-2.4.1
-=====
+2.4.1 (2013-10-02)
+==================
- When using parser.addoption() unicode arguments to the
"type" keyword should also be converted to the respective types.
@@ -1900,7 +1947,7 @@ new features:
- fix issue322: tearDownClass is not run if setUpClass failed. Thanks
Mathieu Agopian for the initial fix. Also make all of pytest/nose
- finalizer mimick the same generic behaviour: if a setupX exists and
+ finalizer mimic the same generic behaviour: if a setupX exists and
fails, don't run teardownX. This internally introduces a new method
"node.addfinalizer()" helper which can only be called during the setup
phase of a node.
@@ -2005,8 +2052,8 @@ Bug fixes:
".section(title)" and ".line(msg)" methods to print extra
information at the end of a test run.
-2.3.5
-=====
+2.3.5 (2013-04-30)
+==================
- fix issue169: respect --tb=style with setup/teardown errors as well.
@@ -2019,11 +2066,11 @@ Bug fixes:
(thanks Adam Goucher)
- Issue 265 - integrate nose setup/teardown with setupstate
- so it doesnt try to teardown if it did not setup
+ so it doesn't try to teardown if it did not setup
-- issue 271 - dont write junitxml on slave nodes
+- issue 271 - don't write junitxml on slave nodes
-- Issue 274 - dont try to show full doctest example
+- Issue 274 - don't try to show full doctest example
when doctest does not know the example location
- issue 280 - disable assertion rewriting on buggy CPython 2.6.0
@@ -2059,7 +2106,7 @@ Bug fixes:
- allow to specify prefixes starting with "_" when
customizing python_functions test discovery. (thanks Graham Horler)
-- improve PYTEST_DEBUG tracing output by puting
+- improve PYTEST_DEBUG tracing output by putting
extra data on a new lines with additional indent
- ensure OutcomeExceptions like skip/fail have initialized exception attributes
@@ -2070,8 +2117,8 @@ Bug fixes:
- fix issue266 - accept unicode in MarkEvaluator expressions
-2.3.4
-=====
+2.3.4 (2012-11-20)
+==================
- yielded test functions will now have autouse-fixtures active but
cannot accept fixtures as funcargs - it's anyway recommended to
@@ -2090,8 +2137,8 @@ Bug fixes:
need to write as -k "TestClass and test_method" to match a certain
method in a certain test class.
-2.3.3
-=====
+2.3.3 (2012-11-06)
+==================
- fix issue214 - parse modules that contain special objects like e. g.
flask's request object which blows up on getattr access if no request
@@ -2108,7 +2155,7 @@ Bug fixes:
- fix issue209 - reintroduce python2.4 support by depending on newer
pylib which re-introduced statement-finding for pre-AST interpreters
-- nose support: only call setup if its a callable, thanks Andrew
+- nose support: only call setup if it's a callable, thanks Andrew
Taumoefolau
- fix issue219 - add py2.4-3.3 classifiers to TROVE list
@@ -2122,8 +2169,8 @@ Bug fixes:
- fix issue127 - improve documentation for pytest_addoption() and
add a ``config.getoption(name)`` helper function for consistency.
-2.3.2
-=====
+2.3.2 (2012-10-25)
+==================
- fix issue208 and fix issue29 use new py version to avoid long pauses
when printing tracebacks in long modules
@@ -2155,8 +2202,8 @@ Bug fixes:
- add tox.ini to pytest distribution so that ignore-dirs and others config
bits are properly distributed for maintainers who run pytest-own tests
-2.3.1
-=====
+2.3.1 (2012-10-20)
+==================
- fix issue202 - fix regression: using "self" from fixture functions now
works as expected (it's the same "self" instance that a test method
@@ -2168,8 +2215,8 @@ Bug fixes:
- link to web pages from --markers output which provides help for
pytest.mark.* usage.
-2.3.0
-=====
+2.3.0 (2012-10-19)
+==================
- fix issue202 - better automatic names for parametrized test functions
- fix issue139 - introduce @pytest.fixture which allows direct scoping
@@ -2204,7 +2251,7 @@ Bug fixes:
- fix issue128: show captured output when capsys/capfd are used
-- fix issue179: propperly show the dependency chain of factories
+- fix issue179: properly show the dependency chain of factories
- pluginmanager.register(...) now raises ValueError if the
plugin has been already registered or the name is taken
@@ -2245,10 +2292,10 @@ Bug fixes:
- don't show deselected reason line if there is none
- - py.test -vv will show all of assert comparisations instead of truncating
+ - py.test -vv will show all of assert comparisons instead of truncating
-2.2.4
-=====
+2.2.4 (2012-05-22)
+==================
- fix error message for rewritten assertions involving the % operator
- fix issue 126: correctly match all invalid xml characters for junitxml
@@ -2256,7 +2303,7 @@ Bug fixes:
- fix issue with unittest: now @unittest.expectedFailure markers should
be processed correctly (you can also use @pytest.mark markers)
- document integration with the extended distribute/setuptools test commands
-- fix issue 140: propperly get the real functions
+- fix issue 140: properly get the real functions
of bound classmethods for setup/teardown_class
- fix issue #141: switch from the deceased paste.pocoo.org to bpaste.net
- fix issue #143: call unconfigure/sessionfinish always when
@@ -2264,13 +2311,13 @@ Bug fixes:
- fix issue #144: better mangle test ids to junitxml classnames
- upgrade distribute_setup.py to 0.6.27
-2.2.3
-=====
+2.2.3 (2012-02-05)
+==================
-- fix uploaded package to only include neccesary files
+- fix uploaded package to only include necessary files
-2.2.2
-=====
+2.2.2 (2012-02-05)
+==================
- fix issue101: wrong args to unittest.TestCase test function now
produce better output
@@ -2289,8 +2336,8 @@ Bug fixes:
- allow adding of attributes to test reports such that it also works
with distributed testing (no upgrade of pytest-xdist needed)
-2.2.1
-=====
+2.2.1 (2011-12-16)
+==================
- fix issue99 (in pytest and py) internallerrors with resultlog now
produce better output - fixed by normalizing pytest_internalerror
@@ -2306,8 +2353,8 @@ Bug fixes:
- fix collection crash due to unknown-source collected items, thanks
to Ralf Schmitt (fixed by depending on a more recent pylib)
-2.2.0
-=====
+2.2.0 (2011-11-18)
+==================
- fix issue90: introduce eager tearing down of test items so that
teardown function are called earlier.
@@ -2341,8 +2388,8 @@ Bug fixes:
- simplify junitxml output code by relying on py.xml
- add support for skip properties on unittest classes and functions
-2.1.3
-=====
+2.1.3 (2011-10-18)
+==================
- fix issue79: assertion rewriting failed on some comparisons in boolops
- correctly handle zero length arguments (a la pytest '')
@@ -2350,8 +2397,8 @@ Bug fixes:
- fix issue75 / skipping test failure on jython
- fix issue77 / Allow assertrepr_compare hook to apply to a subset of tests
-2.1.2
-=====
+2.1.2 (2011-09-24)
+==================
- fix assertion rewriting on files with windows newlines on some Python versions
- refine test discovery by package/module name (--pyargs), thanks Florian Mayer
@@ -2373,8 +2420,8 @@ Bug fixes:
- fix issue61: assertion rewriting on boolean operations with 3 or more operands
- you can now build a man page with "cd doc ; make man"
-2.1.0
-=====
+2.1.0 (2011-07-09)
+==================
- fix issue53 call nosestyle setup functions with correct ordering
- fix issue58 and issue59: new assertion code fixes
@@ -2393,8 +2440,8 @@ Bug fixes:
- report KeyboardInterrupt even if interrupted during session startup
- fix issue 35 - provide PDF doc version and download link from index page
-2.0.3
-=====
+2.0.3 (2011-05-11)
+==================
- fix issue38: nicer tracebacks on calls to hooks, particularly early
configure/sessionstart ones
@@ -2408,13 +2455,13 @@ Bug fixes:
- don't require zlib (and other libs) for genscript plugin without
--genscript actually being used.
-- speed up skips (by not doing a full traceback represenation
+- speed up skips (by not doing a full traceback representation
internally)
- fix issue37: avoid invalid characters in junitxml's output
-2.0.2
-=====
+2.0.2 (2011-03-09)
+==================
- tackle issue32 - speed up test runs of very quick test functions
by reducing the relative overhead
@@ -2456,17 +2503,17 @@ Bug fixes:
this.
- fixed typos in the docs (thanks Victor Garcia, Brianna Laugher) and particular
- thanks to Laura Creighton who also revieved parts of the documentation.
+ thanks to Laura Creighton who also reviewed parts of the documentation.
-- fix slighly wrong output of verbose progress reporting for classes
+- fix slightly wrong output of verbose progress reporting for classes
(thanks Amaury)
- more precise (avoiding of) deprecation warnings for node.Class|Function accesses
- avoid std unittest assertion helper code in tracebacks (thanks Ronny)
-2.0.1
-=====
+2.0.1 (2011-02-07)
+==================
- refine and unify initial capturing so that it works nicely
even if the logging module is used on an early-loaded conftest.py
@@ -2514,12 +2561,12 @@ Bug fixes:
parametraization remains the "pytest_generate_tests"
mechanism, see the docs.
-2.0.0
-=====
+2.0.0 (2010-11-25)
+==================
- pytest-2.0 is now its own package and depends on pylib-2.0
- new ability: python -m pytest / python -m pytest.main ability
-- new python invcation: pytest.main(args, plugins) to load
+- new python invocation: pytest.main(args, plugins) to load
some custom plugins early.
- try harder to run unittest test suites in a more compatible manner
by deferring setup/teardown semantics to the unittest package.
@@ -2559,8 +2606,8 @@ Bug fixes:
- add ability to use "class" level for cached_setup helper
- fix strangeness: mark.* objects are now immutable, create new instances
-1.3.4
-=====
+1.3.4 (2010-09-14)
+==================
- fix issue111: improve install documentation for windows
- fix issue119: fix custom collectability of __init__.py as a module
@@ -2568,8 +2615,8 @@ Bug fixes:
- fix issue115: unify internal exception passthrough/catching/GeneratorExit
- fix issue118: new --tb=native for presenting cpython-standard exceptions
-1.3.3
-=====
+1.3.3 (2010-07-30)
+==================
- fix issue113: assertion representation problem with triple-quoted strings
(and possibly other cases)
@@ -2583,8 +2630,8 @@ Bug fixes:
(thanks Armin Ronacher for reporting)
- remove trailing whitespace in all py/text distribution files
-1.3.2
-=====
+1.3.2 (2010-07-08)
+==================
**New features**
@@ -2656,8 +2703,8 @@ Bug fixes:
- fix homedir detection on Windows
- ship distribute_setup.py version 0.6.13
-1.3.1
-=====
+1.3.1 (2010-05-25)
+==================
**New features**
@@ -2726,8 +2773,8 @@ Bug fixes:
(and internally be more careful when presenting unexpected byte sequences)
-1.3.0
-=====
+1.3.0 (2010-05-05)
+==================
- deprecate --report option in favour of a new shorter and easier to
remember -r option: it takes a string argument consisting of any
@@ -2758,7 +2805,7 @@ Bug fixes:
- extend and refine xfail mechanism:
``@py.test.mark.xfail(run=False)`` do not run the decorated test
``@py.test.mark.xfail(reason="...")`` prints the reason string in xfail summaries
- specifiying ``--runxfail`` on command line virtually ignores xfail markers
+ specifying ``--runxfail`` on command line virtually ignores xfail markers
- expose (previously internal) commonly useful methods:
py.io.get_terminal_with() -> return terminal width
@@ -2791,8 +2838,8 @@ Bug fixes:
- added links to the new capturelog and coverage plugins
-1.2.0
-=====
+1.2.0 (2010-01-18)
+==================
- refined usage and options for "py.cleanup"::
@@ -2830,8 +2877,8 @@ Bug fixes:
- fix plugin links
-1.1.1
-=====
+1.1.1 (2009-11-24)
+==================
- moved dist/looponfailing from py.test core into a new
separately released pytest-xdist plugin.
@@ -2914,8 +2961,8 @@ Bug fixes:
- fix docs, fix internal bin/ script generation
-1.1.0
-=====
+1.1.0 (2009-11-05)
+==================
- introduce automatic plugin registration via 'pytest11'
entrypoints via setuptools' pkg_resources.iter_entry_points
@@ -2983,7 +3030,7 @@ Bug fixes:
* add the ability to specify a path for py.lookup to search in
-* fix a funcarg cached_setup bug probably only occuring
+* fix a funcarg cached_setup bug probably only occurring
in distributed testing and "module" scope with teardown.
* many fixes and changes for making the code base python3 compatible,
@@ -3018,16 +3065,16 @@ Bug fixes:
* simplified internal localpath implementation
-1.0.2
-=====
+1.0.2 (2009-08-27)
+==================
* fixing packaging issues, triggered by fedora redhat packaging,
also added doc, examples and contrib dirs to the tarball.
* added a documentation link to the new django plugin.
-1.0.1
-=====
+1.0.1 (2009-08-19)
+==================
* added a 'pytest_nose' plugin which handles nose.SkipTest,
nose-style function/method/generator setup/teardown and
@@ -3060,14 +3107,14 @@ Bug fixes:
* simplified multicall mechanism and plugin architecture,
renamed some internal methods and argnames
-1.0.0
-=====
+1.0.0 (2009-08-04)
... 3687 lines suppressed ...
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/pytest.git
More information about the Python-modules-commits
mailing list