Opened 4 years ago

Closed 4 years ago

Last modified 3 years ago

#2966 closed bug (Fixed)

Rename deprecated unittest methods

Reported by: Cas Owned by:
Priority: trivial Milestone: 2.0.0
Component: Core Version: develop
Keywords: Cc:

Description

https://docs.python.org/2/library/unittest.html#deprecated-aliases

Method Name 	 	Deprecated alias(es)
assertEqual() 	 	failUnlessEqual, assertEquals
assertNotEqual() 	failIfEqual
assertTrue() 	 	failUnless, assert_
assertFalse() 	 	failIf
assertRaises() 	 	failUnlessRaises
assertAlmostEqual()  	failUnlessAlmostEqual
assertNotAlmostEqual() 	failIfAlmostEqual

Change History (2)

comment:1 Changed 4 years ago by Cas

  • Resolution set to Fixed
  • Status changed from new to closed

comment:2 Changed 3 years ago by Cas

  • Milestone changed from 2.0 to 2.0.0

Milestone renamed

Note: See TracTickets for help on using tickets.