Skip to content

Commit 97abda7

Browse files
committed
Fix test names
1 parent 7024189 commit 97abda7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/test/test_pathlib/test_read.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ def tearDown(self):
2020
def test_is_readable(self):
2121
self.assertIsInstance(self.root, ReadablePath)
2222

23-
def test_open_w(self):
23+
def test_open_r(self):
2424
p = self.root / 'fileA'
2525
with magic_open(p, 'r') as f:
2626
self.assertIsInstance(f, io.TextIOBase)
2727
self.assertEqual(f.read(), 'this is file A\n')
2828

29-
def test_open_wb(self):
29+
def test_open_rb(self):
3030
p = self.root / 'fileA'
3131
with magic_open(p, 'rb') as f:
3232
self.assertEqual(f.read(), b'this is file A\n')

0 commit comments

Comments
 (0)