fix line endings
This commit is contained in:
parent
9aacb4635e
commit
3b9e063fe8
|
@ -9,4 +9,3 @@ def test_it(foo):
|
||||||
pass
|
pass
|
||||||
def test_it2(foo):
|
def test_it2(foo):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
|
@ -6,4 +6,3 @@
|
||||||
<li><a href="https://github.com/pytest-dev/pytest/issues">Issue Tracker</a></li>
|
<li><a href="https://github.com/pytest-dev/pytest/issues">Issue Tracker</a></li>
|
||||||
<li><a href="https://media.readthedocs.org/pdf/pytest/latest/pytest.pdf">PDF Documentation</a>
|
<li><a href="https://media.readthedocs.org/pdf/pytest/latest/pytest.pdf">PDF Documentation</a>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
|
|
@ -37,4 +37,3 @@ Changes between 2.0.2 and 2.0.3
|
||||||
internally)
|
internally)
|
||||||
|
|
||||||
- fix issue37: avoid invalid characters in junitxml's output
|
- fix issue37: avoid invalid characters in junitxml's output
|
||||||
|
|
||||||
|
|
|
@ -34,4 +34,3 @@ Changes between 2.1.0 and 2.1.1
|
||||||
- fix issue59: provide system-out/err tags for junitxml output
|
- fix issue59: provide system-out/err tags for junitxml output
|
||||||
- fix issue61: assertion rewriting on boolean operations with 3 or more operands
|
- fix issue61: assertion rewriting on boolean operations with 3 or more operands
|
||||||
- you can now build a man page with "cd doc ; make man"
|
- you can now build a man page with "cd doc ; make man"
|
||||||
|
|
||||||
|
|
|
@ -30,4 +30,3 @@ Changes between 2.1.1 and 2.1.2
|
||||||
- fix issue68 / packages now work with assertion rewriting
|
- fix issue68 / packages now work with assertion rewriting
|
||||||
- fix issue66: use different assertion rewriting caches when the -O option is passed
|
- fix issue66: use different assertion rewriting caches when the -O option is passed
|
||||||
- don't try assertion rewriting on Jython, use reinterp
|
- don't try assertion rewriting on Jython, use reinterp
|
||||||
|
|
||||||
|
|
|
@ -36,4 +36,3 @@ Changes between 2.2.3 and 2.2.4
|
||||||
configure/sessionstart where called
|
configure/sessionstart where called
|
||||||
- fix issue #144: better mangle test ids to junitxml classnames
|
- fix issue #144: better mangle test ids to junitxml classnames
|
||||||
- upgrade distribute_setup.py to 0.6.27
|
- upgrade distribute_setup.py to 0.6.27
|
||||||
|
|
||||||
|
|
|
@ -131,4 +131,3 @@ Changes between 2.2.4 and 2.3.0
|
||||||
- don't show deselected reason line if there is none
|
- don't show deselected reason line if there is none
|
||||||
|
|
||||||
- py.test -vv will show all of assert comparisons instead of truncating
|
- py.test -vv will show all of assert comparisons instead of truncating
|
||||||
|
|
||||||
|
|
|
@ -59,4 +59,3 @@ Changes between 2.3.2 and 2.3.3
|
||||||
|
|
||||||
- fix issue127 - improve documentation for pytest_addoption() and
|
- fix issue127 - improve documentation for pytest_addoption() and
|
||||||
add a ``config.getoption(name)`` helper function for consistency.
|
add a ``config.getoption(name)`` helper function for consistency.
|
||||||
|
|
||||||
|
|
|
@ -94,4 +94,3 @@ Changes between 2.3.4 and 2.3.5
|
||||||
- fix issue134 - print the collect errors that prevent running specified test items
|
- fix issue134 - print the collect errors that prevent running specified test items
|
||||||
|
|
||||||
- fix issue266 - accept unicode in MarkEvaluator expressions
|
- fix issue266 - accept unicode in MarkEvaluator expressions
|
||||||
|
|
||||||
|
|
|
@ -222,4 +222,3 @@ Bug fixes:
|
||||||
- pytest_terminal_summary(terminalreporter) hooks can now use
|
- pytest_terminal_summary(terminalreporter) hooks can now use
|
||||||
".section(title)" and ".line(msg)" methods to print extra
|
".section(title)" and ".line(msg)" methods to print extra
|
||||||
information at the end of a test run.
|
information at the end of a test run.
|
||||||
|
|
||||||
|
|
|
@ -172,4 +172,3 @@ holger krekel
|
||||||
does not duplicate the unittest-API into the "plain" namespace.
|
does not duplicate the unittest-API into the "plain" namespace.
|
||||||
|
|
||||||
- fix verbose reporting for @mock'd test functions
|
- fix verbose reporting for @mock'd test functions
|
||||||
|
|
||||||
|
|
|
@ -44,4 +44,3 @@ holger krekel
|
||||||
|
|
||||||
- fix issue407: fix addoption docstring to point to argparse instead of
|
- fix issue407: fix addoption docstring to point to argparse instead of
|
||||||
optparse. Thanks Daniel D. Wright.
|
optparse. Thanks Daniel D. Wright.
|
||||||
|
|
||||||
|
|
|
@ -61,4 +61,3 @@ holger krekel
|
||||||
expressions now work better. Thanks Floris Bruynooghe.
|
expressions now work better. Thanks Floris Bruynooghe.
|
||||||
|
|
||||||
- make capfd/capsys.capture private, its unused and shouldn't be exposed
|
- make capfd/capsys.capture private, its unused and shouldn't be exposed
|
||||||
|
|
||||||
|
|
|
@ -56,4 +56,3 @@ Changes 2.6.1
|
||||||
|
|
||||||
- don't use py.std import helper, rather import things directly.
|
- don't use py.std import helper, rather import things directly.
|
||||||
Thanks Bruno Oliveira.
|
Thanks Bruno Oliveira.
|
||||||
|
|
||||||
|
|
|
@ -49,4 +49,3 @@ holger krekel
|
||||||
- Do not mark as universal wheel because Python 2.6 is different from
|
- Do not mark as universal wheel because Python 2.6 is different from
|
||||||
other builds due to the extra argparse dependency. Fixes issue566.
|
other builds due to the extra argparse dependency. Fixes issue566.
|
||||||
Thanks sontek.
|
Thanks sontek.
|
||||||
|
|
||||||
|
|
|
@ -49,4 +49,3 @@ Changes 2.6.3
|
||||||
|
|
||||||
- check xfail/skip also with non-python function test items. Thanks
|
- check xfail/skip also with non-python function test items. Thanks
|
||||||
Floris Bruynooghe.
|
Floris Bruynooghe.
|
||||||
|
|
||||||
|
|
|
@ -98,4 +98,3 @@ holger krekel
|
||||||
- On failure, the ``sys.last_value``, ``sys.last_type`` and
|
- On failure, the ``sys.last_value``, ``sys.last_type`` and
|
||||||
``sys.last_traceback`` are set, so that a user can inspect the error
|
``sys.last_traceback`` are set, so that a user can inspect the error
|
||||||
via postmortem debugging (almarklein).
|
via postmortem debugging (almarklein).
|
||||||
|
|
||||||
|
|
|
@ -55,4 +55,3 @@ The py.test Development Team
|
||||||
|
|
||||||
- fix issue756, fix issue752 (and similar issues): depend on py-1.4.29
|
- fix issue756, fix issue752 (and similar issues): depend on py-1.4.29
|
||||||
which has a refined algorithm for traceback generation.
|
which has a refined algorithm for traceback generation.
|
||||||
|
|
||||||
|
|
|
@ -56,4 +56,3 @@ The py.test Development Team
|
||||||
- extend documentation on the --ignore cli option
|
- extend documentation on the --ignore cli option
|
||||||
- use pytest-runner for setuptools integration
|
- use pytest-runner for setuptools integration
|
||||||
- minor fixes for interaction with OS X El Capitan system integrity protection (thanks Florian)
|
- minor fixes for interaction with OS X El Capitan system integrity protection (thanks Florian)
|
||||||
|
|
||||||
|
|
|
@ -28,4 +28,4 @@ The py.test Development Team
|
||||||
2.8.7 (compared to 2.8.6)
|
2.8.7 (compared to 2.8.6)
|
||||||
-------------------------
|
-------------------------
|
||||||
|
|
||||||
- fix #1338: use predictable object resolution for monkeypatch
|
- fix #1338: use predictable object resolution for monkeypatch
|
||||||
|
|
|
@ -156,4 +156,4 @@ The py.test Development Team
|
||||||
.. _@tomviner: https://github.com/tomviner
|
.. _@tomviner: https://github.com/tomviner
|
||||||
.. _@RonnyPfannschmidt: https://github.com/RonnyPfannschmidt
|
.. _@RonnyPfannschmidt: https://github.com/RonnyPfannschmidt
|
||||||
.. _@rabbbit: https://github.com/rabbbit
|
.. _@rabbbit: https://github.com/rabbbit
|
||||||
.. _@hackebrot: https://github.com/hackebrot
|
.. _@hackebrot: https://github.com/hackebrot
|
||||||
|
|
|
@ -23,6 +23,3 @@ For permanent (but not global) ``pytest`` activation, use::
|
||||||
For one-time activation of argcomplete for ``pytest`` only, use::
|
For one-time activation of argcomplete for ``pytest`` only, use::
|
||||||
|
|
||||||
eval "$(register-python-argcomplete pytest)"
|
eval "$(register-python-argcomplete pytest)"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -120,4 +120,3 @@ You can also interactively ask for help, e.g. by typing on the Python interactiv
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
help(pytest)
|
help(pytest)
|
||||||
|
|
||||||
|
|
|
@ -260,5 +260,3 @@ by adding the ``--cache-clear`` option like this::
|
||||||
This is recommended for invocations from Continuous Integration
|
This is recommended for invocations from Continuous Integration
|
||||||
servers where isolation and correctness is more important
|
servers where isolation and correctness is more important
|
||||||
than speed.
|
than speed.
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -13,5 +13,3 @@ def test_linkcheck(tmpdir):
|
||||||
subprocess.check_call(
|
subprocess.check_call(
|
||||||
["sphinx-build", "-blinkcheck",
|
["sphinx-build", "-blinkcheck",
|
||||||
"-d", str(doctrees), ".", str(htmldir)])
|
"-d", str(doctrees), ".", str(htmldir)])
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -47,4 +47,3 @@ Contact channels
|
||||||
.. _`development mailing list`:
|
.. _`development mailing list`:
|
||||||
.. _`pytest-dev at python.org (mailing list)`: http://mail.python.org/mailman/listinfo/pytest-dev
|
.. _`pytest-dev at python.org (mailing list)`: http://mail.python.org/mailman/listinfo/pytest-dev
|
||||||
.. _`pytest-commit at python.org (mailing list)`: http://mail.python.org/mailman/listinfo/pytest-commit
|
.. _`pytest-commit at python.org (mailing list)`: http://mail.python.org/mailman/listinfo/pytest-commit
|
||||||
|
|
||||||
|
|
|
@ -62,4 +62,3 @@ Full pytest documentation
|
||||||
:maxdepth: 1
|
:maxdepth: 1
|
||||||
|
|
||||||
changelog
|
changelog
|
||||||
|
|
||||||
|
|
|
@ -168,5 +168,3 @@ by using one of standard doctest modules format in options
|
||||||
pytest --doctest-modules --doctest-report cdiff
|
pytest --doctest-modules --doctest-report cdiff
|
||||||
pytest --doctest-modules --doctest-report ndiff
|
pytest --doctest-modules --doctest-report ndiff
|
||||||
pytest --doctest-modules --doctest-report only_first_failure
|
pytest --doctest-modules --doctest-report only_first_failure
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -39,4 +39,3 @@ Note that ``setup_class(TestStateFullThing)`` is called and not
|
||||||
to insert ``setup_class = classmethod(setup_class)`` to make
|
to insert ``setup_class = classmethod(setup_class)`` to make
|
||||||
your setup function callable.
|
your setup function callable.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
|
@ -3,4 +3,3 @@ def test_something(setup):
|
||||||
|
|
||||||
def test_something_more(setup):
|
def test_something_more(setup):
|
||||||
assert setup.timecostly == 1
|
assert setup.timecostly == 1
|
||||||
|
|
||||||
|
|
|
@ -11,6 +11,3 @@ def pytest_pycollect_makemodule(path, parent):
|
||||||
bn = path.basename
|
bn = path.basename
|
||||||
if "py3" in bn and not py3 or ("py2" in bn and py3):
|
if "py3" in bn and not py3 or ("py2" in bn and py3):
|
||||||
return DummyCollector(path, parent=parent)
|
return DummyCollector(path, parent=parent)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -4,4 +4,3 @@ def test_exception_syntax():
|
||||||
0/0
|
0/0
|
||||||
except ZeroDivisionError, e:
|
except ZeroDivisionError, e:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
|
@ -4,4 +4,3 @@ def test_exception_syntax():
|
||||||
0/0
|
0/0
|
||||||
except ZeroDivisionError as e:
|
except ZeroDivisionError as e:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
|
@ -854,4 +854,3 @@ This allows you to execute tests using the frozen
|
||||||
application with standard ``pytest`` command-line options::
|
application with standard ``pytest`` command-line options::
|
||||||
|
|
||||||
./app_main --pytest --verbose --tb=long --junitxml=results.xml test-suite/
|
./app_main --pytest --verbose --tb=long --junitxml=results.xml test-suite/
|
||||||
|
|
||||||
|
|
|
@ -214,5 +214,3 @@ fixtures:
|
||||||
and simplify your fixture function code to use the :ref:`@pytest.fixture`
|
and simplify your fixture function code to use the :ref:`@pytest.fixture`
|
||||||
decorator instead. This will also allow to take advantage of
|
decorator instead. This will also allow to take advantage of
|
||||||
the automatic per-resource grouping of tests.
|
the automatic per-resource grouping of tests.
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -11,4 +11,3 @@ and you can read on here:
|
||||||
- :ref:`fixtures`
|
- :ref:`fixtures`
|
||||||
- :ref:`parametrize`
|
- :ref:`parametrize`
|
||||||
- :ref:`funcargcompare`
|
- :ref:`funcargcompare`
|
||||||
|
|
||||||
|
|
|
@ -136,4 +136,3 @@ More details can be found in the `original PR <https://github.com/pytest-dev/pyt
|
||||||
|
|
||||||
in a future major relase of pytest we will introduce class based markers,
|
in a future major relase of pytest we will introduce class based markers,
|
||||||
at which points markers will no longer be limited to instances of :py:class:`Mark`
|
at which points markers will no longer be limited to instances of :py:class:`Mark`
|
||||||
|
|
||||||
|
|
|
@ -70,6 +70,3 @@ Unsupported idioms / known issues
|
||||||
There are no plans to fix this currently because ``yield``-tests
|
There are no plans to fix this currently because ``yield``-tests
|
||||||
are deprecated in pytest 3.0, with ``pytest.mark.parametrize``
|
are deprecated in pytest 3.0, with ``pytest.mark.parametrize``
|
||||||
being the recommended alternative.
|
being the recommended alternative.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -98,8 +98,3 @@ Plugin specific examples:
|
||||||
.. _`parametrizing tests, generalized`: http://tetamap.wordpress.com/2009/05/13/parametrizing-python-tests-generalized/
|
.. _`parametrizing tests, generalized`: http://tetamap.wordpress.com/2009/05/13/parametrizing-python-tests-generalized/
|
||||||
.. _`generating parametrized tests with fixtures`: parametrize.html#test-generators
|
.. _`generating parametrized tests with fixtures`: parametrize.html#test-generators
|
||||||
.. _`test generators and cached setup`: http://bruynooghe.blogspot.com/2010/06/pytest-test-generators-and-cached-setup.html
|
.. _`test generators and cached setup`: http://bruynooghe.blogspot.com/2010/06/pytest-test-generators-and-cached-setup.html
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -31,5 +31,3 @@ changelog_: history of changes covering last releases
|
||||||
.. _features: features.html
|
.. _features: features.html
|
||||||
.. _funcargs: funcargs.html
|
.. _funcargs: funcargs.html
|
||||||
.. _customize: customize.html
|
.. _customize: customize.html
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -4,4 +4,3 @@ pytest_django plugin (EXTERNAL)
|
||||||
pytest_django is a plugin for ``pytest`` that provides a set of useful tools for testing Django applications, checkout Ben Firshman's `pytest_django github page`_.
|
pytest_django is a plugin for ``pytest`` that provides a set of useful tools for testing Django applications, checkout Ben Firshman's `pytest_django github page`_.
|
||||||
|
|
||||||
.. _`pytest_django github page`: http://github.com/bfirsh/pytest_django/tree/master
|
.. _`pytest_django github page`: http://github.com/bfirsh/pytest_django/tree/master
|
||||||
|
|
||||||
|
|
|
@ -592,8 +592,3 @@ declaring the hook functions directly in your plugin module, for example::
|
||||||
|
|
||||||
This has the added benefit of allowing you to conditionally install hooks
|
This has the added benefit of allowing you to conditionally install hooks
|
||||||
depending on which plugins are installed.
|
depending on which plugins are installed.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -80,4 +80,3 @@ if __name__ == "__main__":
|
||||||
help="cache file")
|
help="cache file")
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
main(args)
|
main(args)
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
build/
|
build/
|
||||||
dist/
|
dist/
|
||||||
*.spec
|
*.spec
|
||||||
|
|
Loading…
Reference in New Issue