Hello community,
here is the log from the commit of package python3-pytest for openSUSE:Factory checked in at 2015-08-05 06:49:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-pytest (Old)
and /work/SRC/openSUSE:Factory/.python3-pytest.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python3-pytest"
Changes:
--------
New Changes file:
--- /dev/null 2015-07-22 21:25:44.928025004 +0200
+++ /work/SRC/openSUSE:Factory/.python3-pytest.new/python3-pytest-doc.changes 2015-08-05 06:49:35.000000000 +0200
@@ -0,0 +1,4 @@
+-------------------------------------------------------------------
+Wed Jul 8 13:13:43 UTC 2015 - toddrme2178@gmail.com
+
+- Split documentation into separate package to avoid build loop
--- /work/SRC/openSUSE:Factory/python3-pytest/python3-pytest.changes 2015-05-20 23:58:16.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python3-pytest.new/python3-pytest.changes 2015-08-05 06:49:35.000000000 +0200
@@ -1,0 +2,29 @@
+Wed Jul 8 13:13:43 UTC 2015 - toddrme2178@gmail.com
+
+- Split documentation into separate package to avoid build loop
+
+-------------------------------------------------------------------
+Tue Jun 30 22:33:39 UTC 2015 - arun@gmx.de
+
+- update to version 2.7.2:
+ * fix issue767: pytest.raises value attribute does not contain the
+ exception instance on Python 2.6. Thanks Eric Siegerman for
+ providing the test case and Bruno Oliveira for PR.
+ * Automatically create directory for junitxml and results
+ log. Thanks Aron Curzon.
+ * fix issue713: JUnit XML reports for doctest failures. Thanks
+ Punyashloka Biswal.
+ * fix issue735: assertion failures on debug versions of Python 3.4+
+ Thanks Benjamin Peterson.
+ * fix issue114: skipif marker reports to internal skipping plugin;
+ Thanks Floris Bruynooghe for reporting and Bruno Oliveira for the
+ PR.
+ * fix issue748: unittest.SkipTest reports to internal pytest
+ unittest plugin. Thanks Thomas De Schampheleire for reporting and
+ Bruno Oliveira for the PR.
+ * fix issue718: failed to create representation of sets containing
+ unsortable elements in python 2. Thanks Edison Gustavo Muenz
+ * fix issue756, fix issue752 (and similar issues): depend on
+ py-1.4.29 which has a refined algorithm for traceback generation.
+
+-------------------------------------------------------------------
Old:
----
pytest-2.7.1.tar.gz
New:
----
pytest-2.7.2.tar.gz
python3-pytest-doc.changes
python3-pytest-doc.spec
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python3-pytest-doc.spec ++++++
#
# spec file for package python3-pytest-doc
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: python3-pytest-doc
Version: 2.7.2
Release: 0
Summary: Simple powerful testing with Python
License: MIT
Group: Development/Languages/Python
Url: http://pytest.org
Source: http://pypi.python.org/packages/source/p/pytest/pytest-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: unzip
# Documentation requirements:
BuildRequires: python3-Sphinx
BuildRequires: python3-py >= 1.4.22
BuildArch: noarch
%description
pytest helps you write better programs. It is a a mature full-featured,
cross-project Python testing tool. It provides:
* auto-discovery of test modules and functions,
* detailed info on failing assert statements (no need to remember
self.assert* names),
* modular fixtures for managing small or parametrized long-lived test resources.
* multi-paradigm support: you can use py.test to run test suites based on
unittest (or trial), nose,
* single-source compatibility to Python2.5 all the way up to Python3.3,
PyPy-1.9 and Jython-2.5.1, and
* many external plugins.
This package provides the documentation for python3-pytest
%prep
%setup -q -n pytest-%{version}
%build
python3 setup.py build_sphinx
rm doc/build/html/.buildinfo
%install
# Only build documentation
%files
%defattr(-,root,root,-)
%doc LICENSE
%doc doc/build/html
%changelog
++++++ python3-pytest.spec ++++++
--- /var/tmp/diff_new_pack.JPf6Yz/_old 2015-08-05 06:49:36.000000000 +0200
+++ /var/tmp/diff_new_pack.JPf6Yz/_new 2015-08-05 06:49:36.000000000 +0200
@@ -17,7 +17,7 @@
Name: python3-pytest
-Version: 2.7.1
+Version: 2.7.2
Release: 0
Summary: Simple powerful testing with Python
License: MIT
@@ -27,8 +27,6 @@
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python3-devel
BuildRequires: unzip
-# Documentation requirements:
-BuildRequires: python3-Sphinx
# Test requirements:
%if 0%{?suse_version} <= 1310
# mock is built-in for python 3.4
@@ -36,6 +34,7 @@
%endif
BuildRequires: python3-PyYAML
BuildRequires: python3-py >= 1.4.22
+BuildRequires: python3-setuptools
Requires: python3-py >= 1.4.22
Requires: python3-setuptools
Requires(post): update-alternatives
@@ -64,8 +63,6 @@
%build
python3 setup.py build
-python3 setup.py build_sphinx
-rm doc/build/html/.buildinfo
%install
python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
@@ -92,7 +89,7 @@
%files
%defattr(-,root,root,-)
-%doc LICENSE README.rst doc/build/html
+%doc LICENSE README.rst
%ghost %{_bindir}/py.test
%ghost %{_sysconfdir}/alternatives/py.test
%{_bindir}/py.test-%{py3_ver}
++++++ pytest-2.7.1.tar.gz -> pytest-2.7.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-2.7.1/CHANGELOG new/pytest-2.7.2/CHANGELOG
--- old/pytest-2.7.1/CHANGELOG 2015-05-19 02:47:59.000000000 +0200
+++ new/pytest-2.7.2/CHANGELOG 2015-06-23 15:46:18.000000000 +0200
@@ -1,3 +1,32 @@
+2.7.2 (compared to 2.7.1)
+-----------------------------
+
+- fix issue767: pytest.raises value attribute does not contain the exception
+ instance on Python 2.6. Thanks Eric Siegerman for providing the test
+ case and Bruno Oliveira for PR.
+
+- Automatically create directory for junitxml and results log.
+ Thanks Aron Curzon.
+
+- fix issue713: JUnit XML reports for doctest failures.
+ Thanks Punyashloka Biswal.
+
+- fix issue735: assertion failures on debug versions of Python 3.4+
+ Thanks Benjamin Peterson.
+
+- fix issue114: skipif marker reports to internal skipping plugin;
+ Thanks Floris Bruynooghe for reporting and Bruno Oliveira for the PR.
+
+- fix issue748: unittest.SkipTest reports to internal pytest unittest plugin.
+ Thanks Thomas De Schampheleire for reporting and Bruno Oliveira for the PR.
+
+- fix issue718: failed to create representation of sets containing unsortable
+ elements in python 2. Thanks Edison Gustavo Muenz
+
+- fix issue756, fix issue752 (and similar issues): depend on py-1.4.29
+ which has a refined algorithm for traceback generation.
+
+
2.7.1 (compared to 2.7.0)
-----------------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-2.7.1/PKG-INFO new/pytest-2.7.2/PKG-INFO
--- old/pytest-2.7.1/PKG-INFO 2015-05-19 02:47:59.000000000 +0200
+++ new/pytest-2.7.2/PKG-INFO 2015-06-23 15:46:19.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: pytest
-Version: 2.7.1
+Version: 2.7.2
Summary: pytest: simple powerful testing with Python
Home-page: http://pytest.org
Author: Holger Krekel, Benjamin Peterson, Ronny Pfannschmidt, Floris Bruynooghe and others
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-2.7.1/_pytest/__init__.py new/pytest-2.7.2/_pytest/__init__.py
--- old/pytest-2.7.1/_pytest/__init__.py 2015-05-19 02:47:59.000000000 +0200
+++ new/pytest-2.7.2/_pytest/__init__.py 2015-06-23 15:46:18.000000000 +0200
@@ -1,2 +1,2 @@
#
-__version__ = '2.7.1'
+__version__ = '2.7.2'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-2.7.1/_pytest/assertion/rewrite.py new/pytest-2.7.2/_pytest/assertion/rewrite.py
--- old/pytest-2.7.1/_pytest/assertion/rewrite.py 2015-05-19 02:47:59.000000000 +0200
+++ new/pytest-2.7.2/_pytest/assertion/rewrite.py 2015-06-23 15:46:18.000000000 +0200
@@ -442,6 +442,13 @@
ast.NotIn: "not in"
}
+# Python 3.4+ compatibility
+if hasattr(ast, "NameConstant"):
+ _NameConstant = ast.NameConstant
+else:
+ def _NameConstant(c):
+ return ast.Name(str(c), ast.Load())
+
def set_location(node, lineno, col_offset):
"""Set node location information recursively."""
@@ -680,7 +687,7 @@
if self.variables:
variables = [ast.Name(name, ast.Store())
for name in self.variables]
- clear = ast.Assign(variables, ast.Name("None", ast.Load()))
+ clear = ast.Assign(variables, _NameConstant(None))
self.statements.append(clear)
# Fix line numbers.
for stmt in self.statements:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-2.7.1/_pytest/assertion/util.py new/pytest-2.7.2/_pytest/assertion/util.py
--- old/pytest-2.7.1/_pytest/assertion/util.py 2015-05-19 02:47:59.000000000 +0200
+++ new/pytest-2.7.2/_pytest/assertion/util.py 2015-06-23 15:46:18.000000000 +0200
@@ -225,10 +225,18 @@
# dynamic import to speedup pytest
import difflib
- left = pprint.pformat(left).splitlines()
- right = pprint.pformat(right).splitlines()
- explanation = [u('Full diff:')]
- explanation.extend(line.strip() for line in difflib.ndiff(left, right))
+ try:
+ left_formatting = pprint.pformat(left).splitlines()
+ right_formatting = pprint.pformat(right).splitlines()
+ explanation = [u('Full diff:')]
+ except Exception:
+ # hack: PrettyPrinter.pformat() in python 2 fails when formatting items that can't be sorted(), ie, calling
+ # sorted() on a list would raise. See issue #718.
+ # As a workaround, the full diff is generated by using the repr() string of each item of each container.
+ left_formatting = sorted(repr(x) for x in left)
+ right_formatting = sorted(repr(x) for x in right)
+ explanation = [u('Full diff (fallback to calling repr on each item):')]
+ explanation.extend(line.strip() for line in difflib.ndiff(left_formatting, right_formatting))
return explanation
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-2.7.1/_pytest/junitxml.py new/pytest-2.7.2/_pytest/junitxml.py
--- old/pytest-2.7.1/_pytest/junitxml.py 2015-05-19 02:47:59.000000000 +0200
+++ new/pytest-2.7.2/_pytest/junitxml.py 2015-06-23 15:46:18.000000000 +0200
@@ -123,10 +123,12 @@
Junit.skipped(message="xfail-marked test passes unexpectedly"))
self.skipped += 1
else:
- if isinstance(report.longrepr, (unicode, str)):
+ if hasattr(report.longrepr, "reprcrash"):
+ message = report.longrepr.reprcrash.message
+ elif isinstance(report.longrepr, (unicode, str)):
message = report.longrepr
else:
- message = report.longrepr.reprcrash.message
+ message = str(report.longrepr)
message = bin_xml_escape(message)
fail = Junit.failure(message=message)
fail.append(bin_xml_escape(report.longrepr))
@@ -203,6 +205,9 @@
self.suite_start_time = time.time()
def pytest_sessionfinish(self):
+ dirname = os.path.dirname(os.path.abspath(self.logfile))
+ if not os.path.isdir(dirname):
+ os.makedirs(dirname)
logfile = open(self.logfile, 'w', encoding='utf-8')
suite_stop_time = time.time()
suite_time_delta = suite_stop_time - self.suite_start_time
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-2.7.1/_pytest/python.py new/pytest-2.7.2/_pytest/python.py
--- old/pytest-2.7.1/_pytest/python.py 2015-05-19 02:47:59.000000000 +0200
+++ new/pytest-2.7.2/_pytest/python.py 2015-06-23 15:46:18.000000000 +0200
@@ -1099,6 +1099,13 @@
__tracebackhide__ = True
if tp[0] is None:
pytest.fail("DID NOT RAISE")
+ if sys.version_info < (2, 7):
+ # py26: on __exit__() exc_value often does not contain the
+ # exception value.
+ # http://bugs.python.org/issue7853
+ if not isinstance(tp[1], BaseException):
+ exc_type, value, traceback = tp
+ tp = exc_type, exc_type(value), traceback
self.excinfo.__init__(tp)
return issubclass(self.excinfo.type, self.ExpectedException)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-2.7.1/_pytest/resultlog.py new/pytest-2.7.2/_pytest/resultlog.py
--- old/pytest-2.7.1/_pytest/resultlog.py 2015-05-19 02:47:59.000000000 +0200
+++ new/pytest-2.7.2/_pytest/resultlog.py 2015-06-23 15:46:18.000000000 +0200
@@ -3,6 +3,7 @@
"""
import py
+import os
def pytest_addoption(parser):
group = parser.getgroup("terminal reporting", "resultlog plugin options")
@@ -14,6 +15,9 @@
resultlog = config.option.resultlog
# prevent opening resultlog on slave nodes (xdist)
if resultlog and not hasattr(config, 'slaveinput'):
+ dirname = os.path.dirname(os.path.abspath(resultlog))
+ if not os.path.isdir(dirname):
+ os.makedirs(dirname)
logfile = open(resultlog, 'w', 1) # line buffered
config._resultlog = ResultLog(config, logfile)
config.pluginmanager.register(config._resultlog)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-2.7.1/_pytest/skipping.py new/pytest-2.7.2/_pytest/skipping.py
--- old/pytest-2.7.1/_pytest/skipping.py 2015-05-19 02:47:59.000000000 +0200
+++ new/pytest-2.7.2/_pytest/skipping.py 2015-06-23 15:46:18.000000000 +0200
@@ -137,6 +137,7 @@
def pytest_runtest_setup(item):
evalskip = MarkEvaluator(item, 'skipif')
if evalskip.istrue():
+ item._evalskip = evalskip
pytest.skip(evalskip.getexplanation())
item._evalxfail = MarkEvaluator(item, 'xfail')
check_xfail_no_run(item)
@@ -156,6 +157,7 @@
outcome = yield
rep = outcome.get_result()
evalxfail = getattr(item, '_evalxfail', None)
+ evalskip = getattr(item, '_evalskip', None)
# unitttest special case, see setting of _unexpectedsuccess
if hasattr(item, '_unexpectedsuccess') and rep.when == "call":
# we need to translate into how pytest encodes xpass
@@ -177,6 +179,13 @@
elif call.when == "call":
rep.outcome = "failed" # xpass outcome
rep.wasxfail = evalxfail.getexplanation()
+ elif evalskip is not None and rep.skipped and type(rep.longrepr) is tuple:
+ # skipped by mark.skipif; change the location of the failure
+ # to point to the item definition, otherwise it will display
+ # the location of where the skip exception was raised within pytest
+ filename, line, reason = rep.longrepr
+ filename, line = item.location[:2]
+ rep.longrepr = filename, line, reason
# called by terminalreporter progress reporting
def pytest_report_teststatus(report):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-2.7.1/_pytest/unittest.py new/pytest-2.7.2/_pytest/unittest.py
--- old/pytest-2.7.1/_pytest/unittest.py 2015-05-19 02:47:59.000000000 +0200
+++ new/pytest-2.7.2/_pytest/unittest.py 2015-06-23 15:46:18.000000000 +0200
@@ -9,6 +9,7 @@
# for transfering markers
from _pytest.python import transfer_markers
+from _pytest.skipping import MarkEvaluator
def pytest_pycollect_makeitem(collector, name, obj):
@@ -113,6 +114,8 @@
try:
pytest.skip(reason)
except pytest.skip.Exception:
+ self._evalskip = MarkEvaluator(self, 'SkipTest')
+ self._evalskip.result = True
self._addexcinfo(sys.exc_info())
def addExpectedFailure(self, testcase, rawexcinfo, reason=""):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-2.7.1/doc/en/announce/release-2.7.2.txt new/pytest-2.7.2/doc/en/announce/release-2.7.2.txt
--- old/pytest-2.7.1/doc/en/announce/release-2.7.2.txt 1970-01-01 01:00:00.000000000 +0100
+++ new/pytest-2.7.2/doc/en/announce/release-2.7.2.txt 2015-06-23 15:46:18.000000000 +0200
@@ -0,0 +1,58 @@
+pytest-2.7.2: bug fixes
+=======================
+
+pytest is a mature Python testing tool with more than a 1100 tests
+against itself, passing on many different interpreters and platforms.
+This release is supposed to be drop-in compatible to 2.7.1.
+
+See below for the changes and see docs at:
+
+ http://pytest.org
+
+As usual, you can upgrade from pypi via::
+
+ pip install -U pytest
+
+Thanks to all who contributed to this release, among them:
+
+ Bruno Oliveira
+ Floris Bruynooghe
+ Punyashloka Biswal
+ Aron Curzon
+ Benjamin Peterson
+ Thomas De Schampheleire
+ Edison Gustavo Muenz
+ Holger Krekel
+
+Happy testing,
+The py.test Development Team
+
+
+2.7.2 (compared to 2.7.1)
+-----------------------------
+
+- fix issue767: pytest.raises value attribute does not contain the exception
+ instance on Python 2.6. Thanks Eric Siegerman for providing the test
+ case and Bruno Oliveira for PR.
+
+- Automatically create directory for junitxml and results log.
+ Thanks Aron Curzon.
+
+- fix issue713: JUnit XML reports for doctest failures.
+ Thanks Punyashloka Biswal.
+
+- fix issue735: assertion failures on debug versions of Python 3.4+
+ Thanks Benjamin Peterson.
+
+- fix issue114: skipif marker reports to internal skipping plugin;
+ Thanks Floris Bruynooghe for reporting and Bruno Oliveira for the PR.
+
+- fix issue748: unittest.SkipTest reports to internal pytest unittest plugin.
+ Thanks Thomas De Schampheleire for reporting and Bruno Oliveira for the PR.
+
+- fix issue718: failed to create representation of sets containing unsortable
+ elements in python 2. Thanks Edison Gustavo Muenz
+
+- fix issue756, fix issue752 (and similar issues): depend on py-1.4.29
+ which has a refined algorithm for traceback generation.
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-2.7.1/doc/en/example/simple.txt new/pytest-2.7.2/doc/en/example/simple.txt
--- old/pytest-2.7.1/doc/en/example/simple.txt 2015-05-19 02:47:59.000000000 +0200
+++ new/pytest-2.7.2/doc/en/example/simple.txt 2015-06-23 15:46:18.000000000 +0200
@@ -10,7 +10,7 @@
.. regendoc:wipe
Suppose we want to write a test that depends on a command line option.
-Here is a basic pattern how to achieve this::
+Here is a basic pattern to achieve this::
# content of test_sample.py
def test_answer(cmdopt):
@@ -41,9 +41,9 @@
F
================================= FAILURES =================================
_______________________________ test_answer ________________________________
-
+
cmdopt = 'type1'
-
+
def test_answer(cmdopt):
if cmdopt == "type1":
print ("first")
@@ -51,7 +51,7 @@
print ("second")
> assert 0 # to see what was printed
E assert 0
-
+
test_sample.py:6: AssertionError
--------------------------- Captured stdout call ---------------------------
first
@@ -109,9 +109,9 @@
$ py.test
=========================== test session starts ============================
platform linux -- Python 3.4.1 -- py-1.4.27 -- pytest-2.7.1
- rootdir: /tmp/doc-exec-162, inifile:
+ rootdir: /tmp/doc-exec-162, inifile:
collected 0 items
-
+
============================= in 0.00 seconds =============================
.. _`excontrolskip`:
@@ -154,13 +154,13 @@
$ py.test -rs # "-rs" means report details on the little 's'
=========================== test session starts ============================
platform linux -- Python 3.4.1 -- py-1.4.27 -- pytest-2.7.1
- rootdir: /tmp/doc-exec-162, inifile:
+ rootdir: /tmp/doc-exec-162, inifile:
collected 2 items
-
+
test_module.py .s
========================= short test summary info ==========================
SKIP [1] /tmp/doc-exec-162/conftest.py:9: need --runslow option to run
-
+
=================== 1 passed, 1 skipped in 0.01 seconds ====================
Or run it including the ``slow`` marked test::
@@ -168,11 +168,11 @@
$ py.test --runslow
=========================== test session starts ============================
platform linux -- Python 3.4.1 -- py-1.4.27 -- pytest-2.7.1
- rootdir: /tmp/doc-exec-162, inifile:
+ rootdir: /tmp/doc-exec-162, inifile:
collected 2 items
-
+
test_module.py ..
-
+
========================= 2 passed in 0.01 seconds =========================
Writing well integrated assertion helpers
@@ -205,11 +205,11 @@
F
================================= FAILURES =================================
______________________________ test_something ______________________________
-
+
def test_something():
> checkconfig(42)
E Failed: not configured: 42
-
+
test_checkconfig.py:8: Failed
1 failed in 0.02 seconds
@@ -260,10 +260,10 @@
$ py.test
=========================== test session starts ============================
platform linux -- Python 3.4.1 -- py-1.4.27 -- pytest-2.7.1
- rootdir: /tmp/doc-exec-162, inifile:
+ rootdir: /tmp/doc-exec-162, inifile:
project deps: mylib-1.1
collected 0 items
-
+
============================= in 0.00 seconds =============================
.. regendoc:wipe
@@ -284,11 +284,11 @@
$ py.test -v
=========================== test session starts ============================
platform linux -- Python 3.4.1 -- py-1.4.27 -- pytest-2.7.1 -- /tmp/sandbox/pytest/.tox/regen/bin/python3.4
- rootdir: /tmp/doc-exec-162, inifile:
+ rootdir: /tmp/doc-exec-162, inifile:
info1: did you know that ...
did you?
collecting ... collected 0 items
-
+
============================= in 0.00 seconds =============================
and nothing when run plainly::
@@ -296,9 +296,9 @@
$ py.test
=========================== test session starts ============================
platform linux -- Python 3.4.1 -- py-1.4.27 -- pytest-2.7.1
- rootdir: /tmp/doc-exec-162, inifile:
+ rootdir: /tmp/doc-exec-162, inifile:
collected 0 items
-
+
============================= in 0.00 seconds =============================
profiling test duration
@@ -329,11 +329,11 @@
$ py.test --durations=3
=========================== test session starts ============================
platform linux -- Python 3.4.1 -- py-1.4.27 -- pytest-2.7.1
- rootdir: /tmp/doc-exec-162, inifile:
+ rootdir: /tmp/doc-exec-162, inifile:
collected 3 items
-
+
test_some_are_slow.py ...
-
+
========================= slowest 3 test durations =========================
0.20s call test_some_are_slow.py::test_funcslow2
0.10s call test_some_are_slow.py::test_funcslow1
@@ -391,20 +391,20 @@
$ py.test -rx
=========================== test session starts ============================
platform linux -- Python 3.4.1 -- py-1.4.27 -- pytest-2.7.1
- rootdir: /tmp/doc-exec-162, inifile:
+ rootdir: /tmp/doc-exec-162, inifile:
collected 4 items
-
+
test_step.py .Fx.
-
+
================================= FAILURES =================================
____________________ TestUserHandling.test_modification ____________________
-
+
self =