mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-02 22:55:08 +00:00
fix: Group fluent subscript (#7386)
This commit is contained in:
parent
1f8e2b8f14
commit
675c86c175
4 changed files with 69 additions and 17 deletions
|
@ -98,3 +98,15 @@ def f():
|
|||
package_version is not None
|
||||
and package_version.split(".")[:2] == package_info.version.split(".")[:2]
|
||||
)
|
||||
|
||||
|
||||
# Group to ensure other arguments don't expand.
|
||||
self.assertEqual(
|
||||
houses.all()[0].occupants.all()[0].houses.all()[1].rooms.all()[0],
|
||||
self.room2_1,
|
||||
)
|
||||
|
||||
self.assertEqual(
|
||||
suite._tests[0].id().split(".")[0],
|
||||
os.path.basename(os.getcwd()),
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue