Skip to main content

Patches setuptools.command.test with mock

Project description

Stub for setuptools.command.test

This package provides a stub for the setuptools.command.test command, which can be used to work around issues with setuptools upgrades that break the test command.

Installation

Install the package using your preferred package manager:

pip install setuptools-test-command-stub

Or poetry:

[tool.poetry.dependencies]
setuptools-test-command-stub = "*"

Add that dependency first in the list of the dependencies in you pyproject.toml. Then, run poetry lock to lock your dependencies.

How it works?

It's just patches setuptools.command.test with unittest.mock.MagicMock.

Remember to remove this package and fix the underlying setuptools issue once possible.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

setuptools_test_command_stub-0.1.2.tar.gz (2.2 kB view hashes)

Uploaded Source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page