Copied assertion methods, for less/greater checks, from Python 2.7’s unittest.TestCase to work with 2.6