diff options
author | Hernan Grecco <hgrecco@gmail.com> | 2023-04-29 19:44:20 -0300 |
---|---|---|
committer | Hernan Grecco <hgrecco@gmail.com> | 2023-04-29 19:44:20 -0300 |
commit | b63697287ba1e5de7300890ea4c03b8781b04863 (patch) | |
tree | 0eb5db03beef71ddfb5a094521034b9f0b212b5b /pint/testsuite/test_compat_upcast.py | |
parent | 10f69c4870ef9acda1b5dd21f2bf87f15855d3ea (diff) | |
download | pint-b63697287ba1e5de7300890ea4c03b8781b04863.tar.gz |
Run pyupgrade --py39-plus in all files except _vendor
Diffstat (limited to 'pint/testsuite/test_compat_upcast.py')
-rw-r--r-- | pint/testsuite/test_compat_upcast.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/pint/testsuite/test_compat_upcast.py b/pint/testsuite/test_compat_upcast.py index ad267c1..56996b9 100644 --- a/pint/testsuite/test_compat_upcast.py +++ b/pint/testsuite/test_compat_upcast.py @@ -126,9 +126,7 @@ def test_array_function_deferral(da, module_registry): upper = 3 * module_registry.m args = (da, lower, upper) assert ( - lower.__array_function__( - np.clip, tuple(set(type(arg) for arg in args)), args, {} - ) + lower.__array_function__(np.clip, tuple({type(arg) for arg in args}), args, {}) is NotImplemented ) |