PATH: //opt/cloudlinux/venv/lib/python3.11/site-packages/pkg_resources/tests
FILE_BARU
CREATE
FOLDER_BARU
MKDIR
UPLOAD_FILE
GO
[ .. KEMBALI ]
📄 __init__.py
↓
X
📁 __pycache__/
X
📁 data/
X
📄 test_find_distributions.py
↓
X
📄 test_integration_zope_interface.py
↓
X
📄 test_markers.py
↓
X
📄 test_pkg_resources.py
↓
X
📄 test_resources.py
↓
X
📄 test_working_set.py
↓
X
SAVING...
BERHASIL DIUBAH!
EDITING: test_markers.py
from unittest import mock from pkg_resources import evaluate_marker @mock.patch('platform.python_version', return_value='2.7.10') def test_ordering(python_version_mock): assert evaluate_marker("python_full_version > '2.7.3'") is True
SIMPAN PERUBAHAN