def CheckNone(self):
        self.cur.execute('create table test(a str)')
        self.cur.execute('insert into test(a) values (NULL)')
        self.cur.execute('insert into test(a) values ("")')
        self.cur.execute('select * from test')
        r = self.cur.fetchone()
        self.assertEqual(r[0], None,
                         "Value is is %s, it should be None."  %r[0])
        r = self.cur.fetchone()
        self.assertEqual(r[0], "",
                         'Value is is %s, it should be "".'  %r[0])
Test whether None is returned when expected.
dataset/ETHPy150Open sassoftware/conary/conary/pysqlite3/test/api_tests.py/moduleTestCases.CheckNone