Commits

David Chambers committed ca99567

Updated `test_month_zero`.

Comments (0)

Files changed (1)

         self.assertEqual(mango_extras.h1(' Mango '), 'Mango\n=====')
 
     def test_month_zero(self):
-        self.assertEqual(mango_extras.month(0), None)
+        self.assertRaises(ValueError, mango_extras.month, 0)
 
     def test_month_one(self):
         self.assertEqual(mango_extras.month(1), 'January')