File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments