Skip to content

Commit f3d9d25

Browse files
committed
Fix trailing whitespace checks
1 parent 35f7ecc commit f3d9d25

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Lib/test/test_pathlib/test_copy.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -174,15 +174,15 @@ def test_copy_fifo(self):
174174
import os
175175
if not hasattr(os, 'mkfifo'):
176176
self.skipTest('os.mkfifo() required')
177-
177+
178178
source = self.source_root / 'test.fifo'
179179
try:
180180
os.mkfifo(source)
181181
except OSError:
182182
self.skipTest("cannot create fifo")
183-
183+
184184
target = self.target_root / 'copy_fifo'
185-
with self.assertRaises(io.UnsupportedOperation):
185+
with self.assertRaises(io.UnsupportedOperation):
186186
source.copy(target)
187187

188188
def test_copy_char_device(self):
@@ -192,7 +192,7 @@ def test_copy_char_device(self):
192192
source = Path('/dev/null')
193193
if not source.exists() or not source.is_char_device():
194194
self.skipTest('/dev/null required')
195-
195+
196196
target = self.target_root / 'copy_null'
197197
# This should fail immediately with UnsupportedOperation
198198
# If it were buggy, it might loop infinitely or copy empty file depending on implementation

0 commit comments

Comments
 (0)