[Buildbot-commits] [Buildbot] #2521: Replace deprecated method unittest.TestCase.assert_() with newer assertEqual/NotEqual
Buildbot trac
trac at buildbot.net
Mon Jul 1 07:21:37 UTC 2013
#2521: Replace deprecated method unittest.TestCase.assert_() with newer
assertEqual/NotEqual
------------------------+------------------------
Reporter: rutsky | Owner:
Type: enhancement | Status: new
Priority: major | Milestone: undecided
Version: 0.8.7p1 | Resolution:
Keywords: tests |
------------------------+------------------------
Comment (by rutsky):
Also, it's tempting to use other modern methods, such as `assertIsNone()`
and `assertIn()`, that was introduced in Python 2.7's unittest module.
Maybe use separate unittest2 module (backport of unittest for older
Python) instead provided with Python unittest?
--
Ticket URL: <http://trac.buildbot.net/ticket/2521#comment:1>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
More information about the Commits
mailing list