Renamed shadowed test method

This commit is contained in:
Menno Smits 2012-01-17 15:51:26 +00:00 committed by Daniele Varrazzo
parent 78895e6943
commit 35ff2def34

View File

@ -78,7 +78,7 @@ class CommonDatetimeTestsMixin:
value = self.DATETIME(None, self.curs) value = self.DATETIME(None, self.curs)
self.assertEqual(value, None) self.assertEqual(value, None)
def test_parse_incomplete_time(self): def test_parse_incomplete_datetime(self):
self.assertRaises(psycopg2.DataError, self.assertRaises(psycopg2.DataError,
self.DATETIME, '2007', self.curs) self.DATETIME, '2007', self.curs)
self.assertRaises(psycopg2.DataError, self.assertRaises(psycopg2.DataError,