@@ -2539,8 +2539,6 @@ def __init__(self, certificate=None, ssl_version=None,
2539
2539
self .daemon = True
2540
2540
2541
2541
def __enter__ (self ):
2542
- # TODO XXX GraalVM change
2543
- raise unittest .SkipTest ("missing threading support" )
2544
2542
self .start (threading .Event ())
2545
2543
self .flag .wait ()
2546
2544
return self
@@ -2551,8 +2549,6 @@ def __exit__(self, *args):
2551
2549
2552
2550
def start (self , flag = None ):
2553
2551
self .flag = flag
2554
- # TODO XXX GraalVM change
2555
- raise unittest .SkipTest ("missing threading support" )
2556
2552
threading .Thread .start (self )
2557
2553
2558
2554
def run (self ):
@@ -2669,8 +2665,6 @@ def __str__(self):
2669
2665
return "<%s %s>" % (self .__class__ .__name__ , self .server )
2670
2666
2671
2667
def __enter__ (self ):
2672
- # TODO XXX GraalVM change
2673
- raise unittest .SkipTest ("missing threading support" )
2674
2668
self .start (threading .Event ())
2675
2669
self .flag .wait ()
2676
2670
return self
@@ -2689,8 +2683,6 @@ def __exit__(self, *args):
2689
2683
2690
2684
def start (self , flag = None ):
2691
2685
self .flag = flag
2692
- # TODO XXX GraalVM change
2693
- raise unittest .SkipTest ("missing threading support" )
2694
2686
threading .Thread .start (self )
2695
2687
2696
2688
def run (self ):
@@ -3202,8 +3194,6 @@ def connector():
3202
3194
self .fail ('connecting to closed SSL socket should have failed' )
3203
3195
3204
3196
t = threading .Thread (target = listener )
3205
- # TODO XXX GraalVM change
3206
- raise unittest .SkipTest ("missing threading support" )
3207
3197
t .start ()
3208
3198
try :
3209
3199
connector ()
@@ -3430,8 +3420,6 @@ def test_starttls(self):
3430
3420
3431
3421
def test_socketserver (self ):
3432
3422
"""Using socketserver to create and manage SSL connections."""
3433
- # TODO XXX GraalVM change
3434
- raise unittest .SkipTest ("missing threading support" )
3435
3423
server = make_https_server (self , certfile = SIGNED_CERTFILE )
3436
3424
# try to connect
3437
3425
if support .verbose :
@@ -3694,8 +3682,6 @@ def serve():
3694
3682
sock .close ()
3695
3683
3696
3684
t = threading .Thread (target = serve )
3697
- # TODO XXX GraalVM change
3698
- raise unittest .SkipTest ("missing threading support" )
3699
3685
t .start ()
3700
3686
started .wait ()
3701
3687
@@ -3749,8 +3735,6 @@ def serve():
3749
3735
remote .send (remote .recv (4 ))
3750
3736
3751
3737
t = threading .Thread (target = serve )
3752
- # TODO XXX GraalVM change
3753
- raise unittest .SkipTest ("missing threading support" )
3754
3738
t .start ()
3755
3739
# Client wait until server setup and perform a connect.
3756
3740
evt .wait ()
0 commit comments