File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change 79
79
finalizer and has access to the fixture's result cache.
80
80
Thanks `@d6e `_, `@sallner `_
81
81
82
+ * Issue a warning for asserts whose test is a tuple literal. Such asserts will
83
+ never fail because tuples are always truthy and are usually a mistake
84
+ (see `#1562 `_). Thanks `@kvas-it `_, for the PR.
85
+
82
86
* New cli flag ``--override-ini `` or ``-o `` that overrides values from the ini file.
83
87
Example '-o xfail_strict=True'. A complete ini-options can be viewed
84
88
by py.test --help. Thanks `@blueyed `_ and `@fengxx `_ for the PR
207
211
.. _#1619 : https://github.com/pytest-dev/pytest/issues/1619
208
212
.. _#372 : https://github.com/pytest-dev/pytest/issues/372
209
213
.. _#1544 : https://github.com/pytest-dev/pytest/issues/1544
214
+ .. _#1562 : https://github.com/pytest-dev/pytest/issues/1562
210
215
.. _#1616 : https://github.com/pytest-dev/pytest/pull/1616
211
216
.. _#1628 : https://github.com/pytest-dev/pytest/pull/1628
212
217
.. _#1629 : https://github.com/pytest-dev/pytest/issues/1629
You can’t perform that action at this time.
0 commit comments