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

(cherry-picked from commit 02d26c4bef)
This commit is contained in:
Alex Waygood 2023-10-16 21:17:59 +01:00 committed by GitHub
parent e8eb2bf788
commit 5f7aba938c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 16 additions and 19 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 = []