This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author xtreak
Recipients christian.heimes, methane, xtreak
Date 2020-07-02.09:02:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> For the record, I noticed DeprecationWarning is not shown by unittest.runner by default.

There is an open issue for this but I think it's enabled by default

$ cat /tmp/
import unittest
import warnings

class TestFoo(unittest.TestCase):

    def test_foo(self):
        self.assertEquals(1, 1)

if __name__ == "__main__":

$ python3.8 -m unittest test_bar
/private/tmp/ DeprecationWarning: Please use assertEqual instead.
  self.assertEquals(1, 1)
Ran 1 test in 0.000s

Date User Action Args
2020-07-02 09:02:26xtreaksetrecipients: + xtreak, christian.heimes, methane
2020-07-02 09:02:26xtreaksetmessageid: <>
2020-07-02 09:02:26xtreaklinkissue41165 messages
2020-07-02 09:02:26xtreakcreate