Use assertEqual instead of assertAlmostEqual method to compare to value None.