def setUp(self):
    'Called before each test.\n\n        Performs setup.\n\n        Args:\n          self (TestJLock): the ``TestJLock`` instance\n\n        Returns:\n          ``None``\n        '
    assertRaisesRegexp = getattr(self, 'assertRaisesRegexp', None)
    self.assertRaisesRegexp = getattr(self, 'assertRaisesRegex', assertRaisesRegexp)
Called before each test.

Performs setup.

Args:
  self (TestJLock): the ``TestJLock`` instance

Returns:
  ``None``
def setUp(self):
    'Called before each test.\n\n        Performs setup.\n\n        Args:\n          self (TestJLock): the ``TestJLock`` instance\n\n        Returns:\n          ``None``\n        '
    assertRaisesRegexp = getattr(self, 'assertRaisesRegexp', None)
    self.assertRaisesRegexp = getattr(self, 'assertRaisesRegex', assertRaisesRegexp)