diff options
author | Alex Waygood <Alex.Waygood@Gmail.com> | 2023-08-07 13:26:49 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-07 13:26:49 (GMT) |
commit | c399b5e1a56f7c659fc92edc20bc4bf522bdeffd (patch) | |
tree | 5d65a20bda4dcccbb89ec36f027edce49b4a9879 /Tools | |
parent | 8c9af6b9a0d6fc9cb237e96588d8dcab727e32b8 (diff) | |
download | cpython-c399b5e1a56f7c659fc92edc20bc4bf522bdeffd.zip cpython-c399b5e1a56f7c659fc92edc20bc4bf522bdeffd.tar.gz cpython-c399b5e1a56f7c659fc92edc20bc4bf522bdeffd.tar.bz2 |
gh-107713: Reduce usage of mocks in `test_clinic.py` (#107714)
Diffstat (limited to 'Tools')
-rwxr-xr-x | Tools/clinic/clinic.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Tools/clinic/clinic.py b/Tools/clinic/clinic.py index 4dfe90b..2bed98c 100755 --- a/Tools/clinic/clinic.py +++ b/Tools/clinic/clinic.py @@ -2424,6 +2424,9 @@ impl_definition block return module, cls + def __repr__(self) -> str: + return "<clinic.Clinic object>" + def parse_file( filename: str, |