aboutsummaryrefslogtreecommitdiffstats
path: root/tests/_autospec.py (follow)
Commit message (Collapse)AuthorAgeLines
* Bump ruff from 0.0.282 to 0.0.283Gravatar dependabot[bot]2023-08-10-1/+1
| | | | | | | | | | | | | | | | Bumps [ruff](https://github.com/astral-sh/ruff) from 0.0.282 to 0.0.283. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/BREAKING_CHANGES.md) - [Commits](https://github.com/astral-sh/ruff/compare/v0.0.282...v0.0.283) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
* Migrate code style to ruffGravatar Chris Lovering2023-04-11-1/+1
| | | | | Co-authored-by: Boris Muratov <[email protected]> Co-authored-by: wookie184 <[email protected]>
* Replace mock._importer with pkgutil.resolve_name in test autospecGravatar shtlrs2023-03-29-1/+2
| | | | mock._importer was removed in 3.11
* Tests: optionally prevent autospec helper from passing mocksGravatar MarkKoz2020-08-17-0/+64
Not everything that's decorated needs the mocks that are patched. Being required to add the args to the test function anyway is annoying. It's especially bad if trying to decorate an entire test suite, as every test would need the args. Move the definition to a separate module to keep things cleaner.