From 09ab62122b4c36a9644f29cd73c6e15e0e0e3825 Mon Sep 17 00:00:00 2001 From: Cody Maloney Date: Wed, 21 May 2025 10:40:50 -0400 Subject: [PATCH] gh-133982: Update test_bufio to use self.open (gh-133983) (cherry picked from commit 84d5f8d799dbbf86248375b6edbbcf4a022788c4) Co-authored-by: Cody Maloney --- Lib/test/test_bufio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_bufio.py b/Lib/test/test_bufio.py index dc9a82dc635318..cb9cb4d0bc7e9c 100644 --- a/Lib/test/test_bufio.py +++ b/Lib/test/test_bufio.py @@ -28,7 +28,7 @@ def try_one(self, s): f.write(b"\n") f.write(s) f.close() - f = open(os_helper.TESTFN, "rb") + f = self.open(os_helper.TESTFN, "rb") line = f.readline() self.assertEqual(line, s + b"\n") line = f.readline() pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy