summaryrefslogtreecommitdiff
path: root/numpy/testing/_private/utils.py
diff options
context:
space:
mode:
authorJakob <jakobjakobson13@posteo.de>2020-10-23 21:39:39 +0200
committerJakob <jakobjakobson13@posteo.de>2020-10-23 21:39:39 +0200
commit7a4588e00bea078a2e0ebdb1540c05d061796ccf (patch)
tree87e171e6299747fc7b0e339e8e9d0140c91c4fa4 /numpy/testing/_private/utils.py
parent1c2b8da1bbc8458b1d878ae10d957bd6b7546131 (diff)
downloadnumpy-7a4588e00bea078a2e0ebdb1540c05d061796ccf.tar.gz
fix typo
Diffstat (limited to 'numpy/testing/_private/utils.py')
-rw-r--r--numpy/testing/_private/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/testing/_private/utils.py b/numpy/testing/_private/utils.py
index b81250bba..a8d0f582c 100644
--- a/numpy/testing/_private/utils.py
+++ b/numpy/testing/_private/utils.py
@@ -2336,7 +2336,7 @@ def _assert_no_gc_cycles_context(name=None):
gc.enable()
if n_objects_in_cycles:
- ame_str = f' when calling {name}' if name is not None else ''
+ name_str = f' when calling {name}' if name is not None else ''
raise AssertionError(
"Reference cycles were found{}: {} objects were collected, "
"of which {} are shown below:{}"