Skip to content

Commit 47ba5e1

Browse files
committed
swap test_write_buffer_full to skip via wrapper and reenable testing the slow executor.
1 parent d3c79f2 commit 47ba5e1

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

tests/test_base.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -730,7 +730,6 @@ async def foo():
730730
self.loop.run_until_complete(foo())
731731
self.loop.run_until_complete(self.loop.shutdown_default_executor())
732732

733-
@unittest.skip("takes too long")
734733
def test_call_soon_threadsafe_safety(self):
735734
ITERATIONS = 4096
736735
counter = [0]

tests/test_pipes.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -268,10 +268,8 @@ def reader(data):
268268
self.loop.run_until_complete(proto.done)
269269
self.assertEqual("CLOSED", proto.state)
270270

271+
@unittest.skipIf(sys.platform == "win32", "do not support pipes for Windows")
271272
def test_write_buffer_full(self):
272-
if sys.platform == "win32":
273-
raise unittest.SkipTest("do not support pipes for Windows")
274-
275273
rpipe, wpipe = os.pipe()
276274
pipeobj = io.open(wpipe, "wb", 1024)
277275

0 commit comments

Comments
 (0)