Skip to content

Commit 20f31d4

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent d1aa68b commit 20f31d4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

numexpr/necompiler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1007,7 +1007,7 @@ def evaluate(ex: str,
10071007
context = getContext(kwargs)
10081008
names, ex_uses_vml = getExprNames(ex, context, sanitize=sanitize)
10091009
arguments = getArguments(names, local_dict, global_dict, _frame_depth=_frame_depth - 1)
1010-
signature = [(name, getType(arg)) for (name, arg) in
1010+
signature = [(name, getType(arg)) for (name, arg) in
10111011
zip(names, arguments)]
10121012
compiled_ex = NumExpr(ex, signature, sanitize=sanitize, **context)
10131013
kwargs = {'out': out, 'order': order, 'casting': casting,

numexpr/tests/test_numexpr.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ def _test_refcount(self):
336336
assert sys.getrefcount(a) == 2
337337
evaluate('1')
338338
assert sys.getrefcount(a) == 2
339-
339+
340340
# Test if `disable_cache` works correctly with refcount, see issue #521
341341
@unittest.skipIf(hasattr(sys, "pypy_version_info"),
342342
"PyPy does not have sys.getrefcount()")

0 commit comments

Comments
 (0)