Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
proc
/
thread-self
/
root
/
opt
/
python-3.9
/
usr
/
lib
/
python3.9
/
unittest
/
test
/
testmock
/
//proc/thread-self/root/opt/python-3.9/usr/lib/python3.9/unittest/test/testmock/support.py
target = {'foo': 'FOO'} def is_instance(obj, klass): """Version of is_instance that doesn't access __class__""" return issubclass(type(obj), klass) class SomeClass(object): class_attribute = None def wibble(self): pass class X(object): pass