@@ -253,9 +253,7 @@ def test_invalid_socket(self):
253
253
self .assertRaises ((ValueError , OSError ),
254
254
signal .set_wakeup_fd , fd )
255
255
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" )
259
257
@unittest .skipUnless (hasattr (os , "pipe" ), "requires os.pipe()" )
260
258
def test_set_wakeup_fd_result (self ):
261
259
r1 , w1 = os .pipe ()
@@ -274,7 +272,7 @@ def test_set_wakeup_fd_result(self):
274
272
self .assertEqual (signal .set_wakeup_fd (- 1 ), w2 )
275
273
self .assertEqual (signal .set_wakeup_fd (- 1 ), - 1 )
276
274
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 " )
278
276
@unittest .skipUnless (support .has_socket_support , "needs working sockets." )
279
277
def test_set_wakeup_fd_socket_result (self ):
280
278
sock1 = socket .socket ()
@@ -295,7 +293,7 @@ def test_set_wakeup_fd_socket_result(self):
295
293
# On Windows, files are always blocking and Windows does not provide a
296
294
# function to test if a socket is in non-blocking mode.
297
295
@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 " )
299
297
@unittest .skipUnless (hasattr (os , "pipe" ), "requires os.pipe()" )
300
298
def test_set_wakeup_fd_blocking (self ):
301
299
rfd , wfd = os .pipe ()
0 commit comments