Skip to content

Commit 0a14f58

Browse files
Apply ruff/Pylint rule PLC0208
PLC0208 Use a sequence type instead of a `set` when iterating over values
1 parent cbd7928 commit 0a14f58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -834,7 +834,7 @@ def test_loop_call_later_handle_cancelled(self):
834834

835835
def test_loop_std_files_cloexec(self):
836836
# See https://github.com/MagicStack/uvloop/issues/40 for details.
837-
for fd in {0, 1, 2}:
837+
for fd in (0, 1, 2):
838838
flags = fcntl.fcntl(fd, fcntl.F_GETFD)
839839
self.assertFalse(flags & fcntl.FD_CLOEXEC)
840840

0 commit comments

Comments
 (0)