Enable Ruff SLOT rules (#115043)
This commit is contained in:
parent
0636ba340c
commit
d61db732da
7 changed files with 9 additions and 4 deletions
|
@ -163,7 +163,7 @@ async def test_loading_derived_class():
|
|||
"""Test loading data from classes derived from str."""
|
||||
|
||||
class MyStr(str):
|
||||
pass
|
||||
__slots__ = ()
|
||||
|
||||
class MyBytes(bytes):
|
||||
pass
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue