@@ -253,9 +253,7 @@ def test_invalid_socket(self):
253253 self .assertRaises ((ValueError , OSError ),
254254 signal .set_wakeup_fd , fd )
255255
256- # Emscripten does not support fstat on pipes yet.
257- # https://github.com/emscripten-core/emscripten/issues/16414
258- @unittest .skipIf (support .is_emscripten , "Emscripten cannot fstat pipes." )
256+ @unittest .skipIf (support .is_emscripten , "Fixed in next Emscripten release after 4.0.1" )
259257 @unittest .skipUnless (hasattr (os , "pipe" ), "requires os.pipe()" )
260258 def test_set_wakeup_fd_result (self ):
261259 r1 , w1 = os .pipe ()
@@ -274,7 +272,7 @@ def test_set_wakeup_fd_result(self):
274272 self .assertEqual (signal .set_wakeup_fd (- 1 ), w2 )
275273 self .assertEqual (signal .set_wakeup_fd (- 1 ), - 1 )
276274
277- @unittest .skipIf (support .is_emscripten , "Emscripten cannot fstat pipes. " )
275+ @unittest .skipIf (support .is_emscripten , "Fixed in next Emscripten release after 4.0.1 " )
278276 @unittest .skipUnless (support .has_socket_support , "needs working sockets." )
279277 def test_set_wakeup_fd_socket_result (self ):
280278 sock1 = socket .socket ()
@@ -295,7 +293,7 @@ def test_set_wakeup_fd_socket_result(self):
295293 # On Windows, files are always blocking and Windows does not provide a
296294 # function to test if a socket is in non-blocking mode.
297295 @unittest .skipIf (sys .platform == "win32" , "tests specific to POSIX" )
298- @unittest .skipIf (support .is_emscripten , "Emscripten cannot fstat pipes. " )
296+ @unittest .skipIf (support .is_emscripten , "Fixed in next Emscripten release after 4.0.1 " )
299297 @unittest .skipUnless (hasattr (os , "pipe" ), "requires os.pipe()" )
300298 def test_set_wakeup_fd_blocking (self ):
301299 rfd , wfd = os .pipe ()
0 commit comments