We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0bf9c46 commit 1d56d38Copy full SHA for 1d56d38
numpy/_core/tests/test_multiarray.py
@@ -6886,7 +6886,7 @@ def test_huge_vectordot(self, dtype):
6886
6887
def test_dtype_discovery_fails(self):
6888
# See gh-14247, error checking was missing for failed dtype discovery
6889
- class BadObject(object):
+ class BadObject:
6890
def __array__(self, dtype=None, copy=None):
6891
raise TypeError("just this tiny mint leaf")
6892
@@ -8356,7 +8356,7 @@ def test_no_suboffsets(self):
8356
np.frombuffer(buffer)
8357
8358
8359
-class TestArrayCreationCopyArgument(object):
+class TestArrayCreationCopyArgument:
8360
8361
class RaiseOnBool:
8362
0 commit comments