

def test_apilevel(self):
    try:
        apilevel = self.driver.apilevel
        self.assertEqual(self, '2.0')
    except AttributeError:
        self.fail("Driver doesn't define apilevel")

dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/MySQL-python-1.2.5/tests/dbapi20.py DatabaseAPI20Test.test_apilevel/VarMisuse@26/33 `apilevel`->`self`