'The L{FakeLock} test fixture will alert us if there\'s a potential
double-release.'

def test_fakeDoubleRelease(self):

    lock = FakeLock()
    self.assertRaises(ThreadError, lock.release)
    lock.acquire()
    self.assertEqual(None, lock.release())
    self.assertRaises(ThreadError, lock.release)
