[3.12] Enable ruff on several more files in Lib/test (#110929) (#110934)

(cherry-picked from commit 02d26c4bef)
This commit is contained in:
Alex Waygood 2023-10-16 16:48:02 +01:00 committed by GitHub
parent 89f9c226a1
commit b8e5b1b28a
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 = []