def verify_lock_state(self, expected):
        self.assertEqual(imp.lock_held(), expected,
                             "expected imp.lock_held() to be %r" % expected)
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/test/test_imp.py/LockTests.verify_lock_state/original