@classmethod
  def field_by_name(cls, name):
    return cls.__by_name[name]
Test that the lock can be acquired when no lock is held
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/protorpc/protorpc/messages.py/Message.field_by_name--crossover with--dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/test/test_defer.py/DeferredFilesystemLockTestCase.test_waitUntilLockedWithNoLock