mirror of
https://github.com/python/cpython.git
synced 2025-08-01 07:33:08 +00:00
Enable ruff on several more files in Lib/test
(#110929)
This commit is contained in:
parent
a1ac5590e0
commit
02d26c4bef
6 changed files with 16 additions and 21 deletions
|
@ -170,7 +170,7 @@ class KeywordOnlyArgTestCase(unittest.TestCase):
|
|||
pass
|
||||
self.assertEqual(str(err.exception), "name 'b' is not defined")
|
||||
with self.assertRaises(NameError) as err:
|
||||
f = lambda v=a, x=b, *, y=c, z=d: None
|
||||
g = lambda v=a, x=b, *, y=c, z=d: None
|
||||
self.assertEqual(str(err.exception), "name 'b' is not defined")
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue