'undefined methods datetime_or_None, date_or_None'

def test_issue_3(self):

    conn = self.connections[0]
    c = conn.cursor()
    with warnings.catch_warnings():
        warnings.filterwarnings('ignore')
        c.execute('drop    table    if    exists    issue3')
    c.execute('create    table    issue3    (d    date,    t    time,    dt    datetime,    ts    timestamp)')
    try:
        c.execute('insert    into    issue3    (d,    t,    dt,    ts)    values    (%s,%s,%s,%s)', (None, None, None, None))
        c.execute('select    d    from    issue3')
        self.assertEqual(None, c.fetchone()[0])
        c.execute('select    t    from    issue3')
        self.assertEqual(None, c.fetchone()[0])
        c.execute('select    dt    from    issue3')
        self.assertEqual(None, c.fetchone()[0])
        c.execute('select    ts    from    issue3')
        self.assertTrue(isinstance(c.fetchone()[0], datetime.datetime))
    finally:
        c.execute('drop    table    issue3')
