Opened 10 months ago

Closed 9 months ago

#2966 closed bug (Fixed)

Rename deprecated unittest methods

Reported by: Cas Owned by:
Priority: trivial Milestone: 2.0
Component: Core Version: develop (git)
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 (1)

comment:1 Changed 9 months ago by Cas

  • Resolution set to Fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.