[3.13] Bump Ruff to 0.6.7 (#124384) (#124389)

Bump Ruff to 0.6.7 (#124384)
This commit is contained in:
Alex Waygood 2024-09-30 02:04:56 +01:00 committed by GitHub
parent 6425443e1d
commit 67aa68f1b4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 11 additions and 14 deletions

View file

@ -639,11 +639,9 @@ class IOTest(unittest.TestCase):
def test_with_open(self):
for bufsize in (0, 100):
f = None
with self.open(os_helper.TESTFN, "wb", bufsize) as f:
f.write(b"xxx")
self.assertEqual(f.closed, True)
f = None
try:
with self.open(os_helper.TESTFN, "wb", bufsize) as f:
1/0