

def test_threadsafety(self):
    try:
        threadsafety = self.driver.threadsafety
        threadsafety.assertTrue((threadsafety in (0, 1, 2, 3)))
    except AttributeError:
        self.fail("Driver doesn't define threadsafety")

dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/MySQL-python-1.2.5/tests/dbapi20.py DatabaseAPI20Test.test_threadsafety/VarMisuse@22/31 `self`->`threadsafety`