ó {G_Tc@slddlZddlZejjddeƒZdejfd„ƒYZd„Z e dkrhe ƒndS(iÿÿÿÿNtmutext deprecatedt MutexTestcBseZd„ZRS(cs€‡‡‡fd†}‡‡‡fd†‰tjƒ‰t}ˆj|dƒt‰ˆjƒˆjƒˆjˆjƒdƒdS(Ncs:ˆj|dƒˆjˆjƒdƒˆjˆdƒdS(Ntspamsmutex not heldteggs(t assertEqualt assertTruettesttlock(t some_data(tcalled_by_mutex2tmtself(s+/usr/local/lib/python2.7/test/test_mutex.pytcalled_by_mutex scs:ˆj|dƒˆjˆjƒdƒˆjˆdƒdS(NRsmutex not helds called_by_mutex2 called too soon(RRR(R (R t ready_for_2R (s+/usr/local/lib/python2.7/test/test_mutex.pyR s Rsmutex still held(RtFalseRtTruetunlockt assertFalseR(R R t read_for_2((R R RR s+/usr/local/lib/python2.7/test/test_mutex.pyttest_lock_and_unlocks   (t__name__t __module__R(((s+/usr/local/lib/python2.7/test/test_mutex.pyRscCstjjtƒdS(N(Rt test_supportt run_unittestR(((s+/usr/local/lib/python2.7/test/test_mutex.pyt test_mainst__main__( tunittestttest.test_supportRRt import_moduleRRtTestCaseRRR(((s+/usr/local/lib/python2.7/test/test_mutex.pyts