summaryrefslogtreecommitdiff
path: root/numpy/lib/tests
diff options
context:
space:
mode:
authorMike Taves <mwtoews@gmail.com>2021-03-19 22:03:06 +1300
committerMike Taves <mwtoews@gmail.com>2021-03-19 22:14:30 +1300
commitc1aa1af62f6e9fcdda92d6d0991b15051a565814 (patch)
tree91d6c55737d99f5e6e97c0991a0dbb863e0a75cd /numpy/lib/tests
parent60cd9d717524e5a003bee9e4270b9c6b8144a7af (diff)
downloadnumpy-c1aa1af62f6e9fcdda92d6d0991b15051a565814.tar.gz
MAINT: use super() as described by PEP 3135
Diffstat (limited to 'numpy/lib/tests')
-rw-r--r--numpy/lib/tests/test_format.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/tests/test_format.py b/numpy/lib/tests/test_format.py
index bac42fad3..10656a233 100644
--- a/numpy/lib/tests/test_format.py
+++ b/numpy/lib/tests/test_format.py
@@ -402,7 +402,7 @@ class BytesIOSRandomSize(BytesIO):
def read(self, size=None):
import random
size = random.randint(1, size)
- return super(BytesIOSRandomSize, self).read(size)
+ return super().read(size)
def roundtrip(arr):