Enable ruff on several more files in Lib/test (#110929)

This commit is contained in:
Alex Waygood 2023-10-16 15:57:01 +01:00 committed by GitHub
parent a1ac5590e0
commit 02d26c4bef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 16 additions and 21 deletions

View file

@ -98,7 +98,7 @@ class TestMROEntry(unittest.TestCase):
return ()
d = C_too_few()
with self.assertRaises(TypeError):
class D(d): ...
class E(d): ...
def test_mro_entry_errors_2(self):
class C_not_callable:
@ -111,7 +111,7 @@ class TestMROEntry(unittest.TestCase):
return object
c = C_not_tuple()
with self.assertRaises(TypeError):
class D(c): ...
class E(c): ...
def test_mro_entry_metaclass(self):
meta_args = []