@@ -323,6 +323,8 @@ def setUp(self):
323
323
def tearDown (self ):
324
324
asyncore .close_all ()
325
325
326
+ # TODO: RUSTPYTHON
327
+ @unittest .expectedFailure
326
328
@support .reap_threads
327
329
def test_send (self ):
328
330
evt = threading .Event ()
@@ -423,6 +425,8 @@ def test_resource_warning(self):
423
425
f = None
424
426
support .gc_collect ()
425
427
428
+ # TODO: RUSTPYTHON
429
+ @unittest .expectedFailure
426
430
def test_close_twice (self ):
427
431
fd = os .open (support .TESTFN , os .O_RDONLY )
428
432
f = asyncore .file_wrapper (fd )
@@ -513,6 +517,8 @@ def loop_waiting_for_flag(self, instance, timeout=5):
513
517
time .sleep (timeout )
514
518
self .fail ("flag not set" )
515
519
520
+ # TODO: RUSTPYTHON
521
+ @unittest .expectedFailure
516
522
def test_handle_connect (self ):
517
523
# make sure handle_connect is called on connect()
518
524
@@ -524,6 +530,8 @@ def handle_connect(self):
524
530
client = TestClient (self .family , server .address )
525
531
self .loop_waiting_for_flag (client )
526
532
533
+ # TODO: RUSTPYTHON
534
+ @unittest .expectedFailure
527
535
def test_handle_accept (self ):
528
536
# make sure handle_accept() is called when a client connects
529
537
@@ -543,6 +551,8 @@ def handle_accept(self):
543
551
client = BaseClient (self .family , server .address )
544
552
self .loop_waiting_for_flag (server )
545
553
554
+ # TODO: RUSTPYTHON
555
+ @unittest .expectedFailure
546
556
def test_handle_accepted (self ):
547
557
# make sure handle_accepted() is called when a client connects
548
558
@@ -567,6 +577,8 @@ def handle_accepted(self, sock, addr):
567
577
self .loop_waiting_for_flag (server )
568
578
569
579
580
+ # TODO: RUSTPYTHON
581
+ @unittest .expectedFailure
570
582
def test_handle_read (self ):
571
583
# make sure handle_read is called on data received
572
584
@@ -583,6 +595,8 @@ def __init__(self, conn):
583
595
client = TestClient (self .family , server .address )
584
596
self .loop_waiting_for_flag (client )
585
597
598
+ # TODO: RUSTPYTHON
599
+ @unittest .expectedFailure
586
600
def test_handle_write (self ):
587
601
# make sure handle_write is called
588
602
@@ -594,6 +608,8 @@ def handle_write(self):
594
608
client = TestClient (self .family , server .address )
595
609
self .loop_waiting_for_flag (client )
596
610
611
+ # TODO: RUSTPYTHON
612
+ @unittest .expectedFailure
597
613
def test_handle_close (self ):
598
614
# make sure handle_close is called when the other end closes
599
615
# the connection
@@ -618,6 +634,8 @@ def __init__(self, conn):
618
634
client = TestClient (self .family , server .address )
619
635
self .loop_waiting_for_flag (client )
620
636
637
+ # TODO: RUSTPYTHON
638
+ @unittest .expectedFailure
621
639
def test_handle_close_after_conn_broken (self ):
622
640
# Check that ECONNRESET/EPIPE is correctly handled (issues #5661 and
623
641
# #11265).
@@ -650,6 +668,8 @@ def writable(self):
650
668
client = TestClient (self .family , server .address )
651
669
self .loop_waiting_for_flag (client )
652
670
671
+ # TODO: RUSTPYTHON
672
+ @unittest .expectedFailure
653
673
@unittest .skipIf (sys .platform .startswith ("sunos" ),
654
674
"OOB support is broken on Solaris" )
655
675
def test_handle_expt (self ):
@@ -676,6 +696,8 @@ def __init__(self, conn):
676
696
client = TestClient (self .family , server .address )
677
697
self .loop_waiting_for_flag (client )
678
698
699
+ # TODO: RUSTPYTHON
700
+ @unittest .expectedFailure
679
701
def test_handle_error (self ):
680
702
681
703
class TestClient (BaseClient ):
@@ -694,6 +716,8 @@ def handle_error(self):
694
716
client = TestClient (self .family , server .address )
695
717
self .loop_waiting_for_flag (client )
696
718
719
+ # TODO: RUSTPYTHON
720
+ @unittest .expectedFailure
697
721
def test_connection_attributes (self ):
698
722
server = BaseServer (self .family , self .addr )
699
723
client = BaseClient (self .family , server .address )
@@ -767,6 +791,8 @@ def test_set_reuse_addr(self):
767
791
self .assertTrue (s .socket .getsockopt (socket .SOL_SOCKET ,
768
792
socket .SO_REUSEADDR ))
769
793
794
+ # TODO: RUSTPYTHON
795
+ @unittest .expectedFailure
770
796
@support .reap_threads
771
797
def test_quick_connect (self ):
772
798
# see: http://bugs.python.org/issue10340
0 commit comments