@@ -323,8 +323,6 @@ def setUp(self):
323
323
def tearDown (self ):
324
324
asyncore .close_all ()
325
325
326
- # TODO: RUSTPYTHON
327
- @unittest .expectedFailure
328
326
@support .reap_threads
329
327
def test_send (self ):
330
328
evt = threading .Event ()
@@ -376,7 +374,6 @@ def setUp(self):
376
374
def tearDown (self ):
377
375
support .unlink (support .TESTFN )
378
376
379
- @unittest .skip ("TODO: RUSTPYTHON, thread 'main' panicked at 'assertion failed: `(left != right)` left: `-1`, right: `-1`'" )
380
377
def test_recv (self ):
381
378
fd = os .open (support .TESTFN , os .O_RDONLY )
382
379
w = asyncore .file_wrapper (fd )
@@ -515,8 +512,6 @@ def loop_waiting_for_flag(self, instance, timeout=5):
515
512
time .sleep (timeout )
516
513
self .fail ("flag not set" )
517
514
518
- # TODO: RUSTPYTHON
519
- @unittest .expectedFailure
520
515
def test_handle_connect (self ):
521
516
# make sure handle_connect is called on connect()
522
517
@@ -528,8 +523,6 @@ def handle_connect(self):
528
523
client = TestClient (self .family , server .address )
529
524
self .loop_waiting_for_flag (client )
530
525
531
- # TODO: RUSTPYTHON
532
- @unittest .expectedFailure
533
526
def test_handle_accept (self ):
534
527
# make sure handle_accept() is called when a client connects
535
528
@@ -549,8 +542,6 @@ def handle_accept(self):
549
542
client = BaseClient (self .family , server .address )
550
543
self .loop_waiting_for_flag (server )
551
544
552
- # TODO: RUSTPYTHON
553
- @unittest .expectedFailure
554
545
def test_handle_accepted (self ):
555
546
# make sure handle_accepted() is called when a client connects
556
547
@@ -575,8 +566,6 @@ def handle_accepted(self, sock, addr):
575
566
self .loop_waiting_for_flag (server )
576
567
577
568
578
- # TODO: RUSTPYTHON
579
- @unittest .expectedFailure
580
569
def test_handle_read (self ):
581
570
# make sure handle_read is called on data received
582
571
@@ -593,8 +582,6 @@ def __init__(self, conn):
593
582
client = TestClient (self .family , server .address )
594
583
self .loop_waiting_for_flag (client )
595
584
596
- # TODO: RUSTPYTHON
597
- @unittest .expectedFailure
598
585
def test_handle_write (self ):
599
586
# make sure handle_write is called
600
587
@@ -606,8 +593,6 @@ def handle_write(self):
606
593
client = TestClient (self .family , server .address )
607
594
self .loop_waiting_for_flag (client )
608
595
609
- # TODO: RUSTPYTHON
610
- @unittest .expectedFailure
611
596
def test_handle_close (self ):
612
597
# make sure handle_close is called when the other end closes
613
598
# the connection
@@ -632,8 +617,6 @@ def __init__(self, conn):
632
617
client = TestClient (self .family , server .address )
633
618
self .loop_waiting_for_flag (client )
634
619
635
- # TODO: RUSTPYTHON
636
- @unittest .expectedFailure
637
620
def test_handle_close_after_conn_broken (self ):
638
621
# Check that ECONNRESET/EPIPE is correctly handled (issues #5661 and
639
622
# #11265).
@@ -666,8 +649,6 @@ def writable(self):
666
649
client = TestClient (self .family , server .address )
667
650
self .loop_waiting_for_flag (client )
668
651
669
- # TODO: RUSTPYTHON
670
- @unittest .expectedFailure
671
652
@unittest .skipIf (sys .platform .startswith ("sunos" ),
672
653
"OOB support is broken on Solaris" )
673
654
def test_handle_expt (self ):
@@ -694,8 +675,6 @@ def __init__(self, conn):
694
675
client = TestClient (self .family , server .address )
695
676
self .loop_waiting_for_flag (client )
696
677
697
- # TODO: RUSTPYTHON
698
- @unittest .expectedFailure
699
678
def test_handle_error (self ):
700
679
701
680
class TestClient (BaseClient ):
@@ -714,8 +693,6 @@ def handle_error(self):
714
693
client = TestClient (self .family , server .address )
715
694
self .loop_waiting_for_flag (client )
716
695
717
- # TODO: RUSTPYTHON
718
- @unittest .expectedFailure
719
696
def test_connection_attributes (self ):
720
697
server = BaseServer (self .family , self .addr )
721
698
client = BaseClient (self .family , server .address )
@@ -790,8 +767,6 @@ def test_set_reuse_addr(self):
790
767
self .assertTrue (s .socket .getsockopt (socket .SOL_SOCKET ,
791
768
socket .SO_REUSEADDR ))
792
769
793
- # TODO: RUSTPYTHON
794
- @unittest .expectedFailure
795
770
@support .reap_threads
796
771
def test_quick_connect (self ):
797
772
# see: http://bugs.python.org/issue10340
0 commit comments