File manager - Edit - /usr/lib/mysqlsh/lib/python3.9/site-packages/setuptools/tests/test_upload.py
Back
from unittest import mock import pytest from setuptools.command.upload import upload from setuptools.dist import Distribution from setuptools.errors import RemovedCommandError class TestUpload: def test_upload_exception(self): """Ensure that the register command has been properly removed.""" dist = Distribution() dist.dist_files = [(mock.Mock(), mock.Mock(), mock.Mock())] cmd = upload(dist) with pytest.raises(RemovedCommandError): cmd.run()
| ver. 1.4 |
Github
|
.
| PHP 8.2.32 | Generation time: 0.07 |
proxy
|
phpinfo
|
Settings