You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
platform linux -- Python 3.4.3, pytest-2.8.5, py-1.4.31, pluggy-0.3.1
37
+
collected 1 items
38
+
39
+
test_sample.py F
40
+
41
+
======= FAILURES ========
42
+
_______ test_answer ________
43
+
44
+
def test_answer():
45
+
> assert func(3) == 5
46
+
E assert 4 == 5
47
+
E + where 4 = func(3)
48
+
49
+
test_sample.py:5: AssertionError
50
+
======= 1 failed in 0.12 seconds ========
51
+
52
+
Due to ``py.test``'s detailed assertion introspection, only plain ``assert`` statements are used. See `getting-started <http://pytest.org/latest/getting-started.html#our-first-test-run>`_ for more examples.
53
+
22
54
23
55
Features
24
56
--------
25
57
26
-
- `auto-discovery
58
+
- Detailed info on failing `assert statements <http://pytest.org/latest/assert.html>`_ (no need to remember ``self.assert*`` names);
- Rich plugin architecture, with over 150+ `external plugins <http://pytest.org/latest/plugins.html#installing-external-plugins-searching>`_ and thriving comminity;
73
+
74
+
75
+
Documentation
76
+
-------------
44
77
45
-
# content of test_module.py
46
-
deftest_function():
47
-
i =4
48
-
assert i ==3
78
+
For full documentation, including installation, tutorials and PDF documents, please see http://pytest.org.
49
79
50
-
which can be run with ``py.test test_module.py``. See `getting-started <http://pytest.org/latest/getting-started.html#our-first-test-run>`_ for more examples.
51
80
52
-
For much more info, including PDF docs, see
81
+
Bugs/Requests
82
+
-------------
53
83
54
-
http://pytest.org
84
+
Please use the `GitHub issue tracker <https://github.com/pytest-dev/pytest/issues>`_ to submit bugs or feature requests.
0 commit comments