Skip to content

Commit 0db4ae1

Browse files
committed
Update changelog
1 parent c17027e commit 0db4ae1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

CHANGELOG.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,10 @@
7979
finalizer and has access to the fixture's result cache.
8080
Thanks `@d6e`_, `@sallner`_
8181

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+
8286
* New cli flag ``--override-ini`` or ``-o`` that overrides values from the ini file.
8387
Example '-o xfail_strict=True'. A complete ini-options can be viewed
8488
by py.test --help. Thanks `@blueyed`_ and `@fengxx`_ for the PR
@@ -207,6 +211,7 @@
207211
.. _#1619: https://github.com/pytest-dev/pytest/issues/1619
208212
.. _#372: https://github.com/pytest-dev/pytest/issues/372
209213
.. _#1544: https://github.com/pytest-dev/pytest/issues/1544
214+
.. _#1562: https://github.com/pytest-dev/pytest/issues/1562
210215
.. _#1616: https://github.com/pytest-dev/pytest/pull/1616
211216
.. _#1628: https://github.com/pytest-dev/pytest/pull/1628
212217
.. _#1629: https://github.com/pytest-dev/pytest/issues/1629

0 commit comments

Comments
 (0)