code: def test_lock_class_argument(self, r):
      class MyLock:
          def __init__(self, *args, **kwargs):
              pass
  
      lock = r.lock("foo", lock_class=MyLock)
      assert type(lock) == MyLock
  
imports: import time
  import pytest
  from redis.client import Redis
  from redis.exceptions import LockError, LockNotOwnedError
  from redis.lock import Lock
  from .conftest import _get_client
label_desc: Use image node_id 1 for calling the TestLockClassSelection obj's underlying member method code with example usage: obj.test_lock_class_argument(r) without return types