PATH: //opt/alt/python311/lib64/python3.11/unittest/test/testmock
FILE_BARU
CREATE
FOLDER_BARU
MKDIR
UPLOAD_FILE
GO
[ .. KEMBALI ]
📄 __init__.py
↓
X
📄 __main__.py
↓
X
📁 __pycache__/
X
📄 support.py
↓
X
📄 testasync.py
↓
X
📄 testcallable.py
↓
X
📄 testhelpers.py
↓
X
📄 testmagicmethods.py
↓
X
📄 testmock.py
↓
X
📄 testpatch.py
↓
X
📄 testsealable.py
↓
X
📄 testsentinel.py
↓
X
📄 testwith.py
↓
X
SAVING...
BERHASIL DIUBAH!
EDITING: 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
SIMPAN PERUBAHAN