diff options
author | 2023-08-10 11:26:44 +0100 | |
---|---|---|
committer | 2023-08-10 11:26:45 +0100 | |
commit | 15c380f4bfb9cba94490b0521379600c56598b44 (patch) | |
tree | 4c77b4cd6d7e0c9d097604e370f054a070646b3f /tests/_autospec.py | |
parent | Bump regex from 2023.6.3 to 2023.8.8 (#2711) (diff) |
Bump ruff from 0.0.282 to 0.0.283
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]>
Diffstat (limited to 'tests/_autospec.py')
-rw-r--r-- | tests/_autospec.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/_autospec.py b/tests/_autospec.py index 6f990a580..a9cd59dc0 100644 --- a/tests/_autospec.py +++ b/tests/_autospec.py @@ -51,7 +51,7 @@ def autospec(target, *attributes: str, pass_mocks: bool = True, **patch_kwargs) # Import the target if it's a string. # This is to support both object and string targets like patch.multiple. - if type(target) is str: + if isinstance(target, str): target = pkgutil.resolve_name(target) def decorator(func): |