Skip to content

Commit ff2d493

Browse files
committed
Unskip threading tests
1 parent afdeda2 commit ff2d493

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

graalpython/lib-python/3/test/test_ssl.py

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2539,8 +2539,6 @@ def __init__(self, certificate=None, ssl_version=None,
25392539
self.daemon = True
25402540

25412541
def __enter__(self):
2542-
# TODO XXX GraalVM change
2543-
raise unittest.SkipTest("missing threading support")
25442542
self.start(threading.Event())
25452543
self.flag.wait()
25462544
return self
@@ -2551,8 +2549,6 @@ def __exit__(self, *args):
25512549

25522550
def start(self, flag=None):
25532551
self.flag = flag
2554-
# TODO XXX GraalVM change
2555-
raise unittest.SkipTest("missing threading support")
25562552
threading.Thread.start(self)
25572553

25582554
def run(self):
@@ -2669,8 +2665,6 @@ def __str__(self):
26692665
return "<%s %s>" % (self.__class__.__name__, self.server)
26702666

26712667
def __enter__(self):
2672-
# TODO XXX GraalVM change
2673-
raise unittest.SkipTest("missing threading support")
26742668
self.start(threading.Event())
26752669
self.flag.wait()
26762670
return self
@@ -2689,8 +2683,6 @@ def __exit__(self, *args):
26892683

26902684
def start (self, flag=None):
26912685
self.flag = flag
2692-
# TODO XXX GraalVM change
2693-
raise unittest.SkipTest("missing threading support")
26942686
threading.Thread.start(self)
26952687

26962688
def run(self):
@@ -3202,8 +3194,6 @@ def connector():
32023194
self.fail('connecting to closed SSL socket should have failed')
32033195

32043196
t = threading.Thread(target=listener)
3205-
# TODO XXX GraalVM change
3206-
raise unittest.SkipTest("missing threading support")
32073197
t.start()
32083198
try:
32093199
connector()
@@ -3430,8 +3420,6 @@ def test_starttls(self):
34303420

34313421
def test_socketserver(self):
34323422
"""Using socketserver to create and manage SSL connections."""
3433-
# TODO XXX GraalVM change
3434-
raise unittest.SkipTest("missing threading support")
34353423
server = make_https_server(self, certfile=SIGNED_CERTFILE)
34363424
# try to connect
34373425
if support.verbose:
@@ -3694,8 +3682,6 @@ def serve():
36943682
sock.close()
36953683

36963684
t = threading.Thread(target=serve)
3697-
# TODO XXX GraalVM change
3698-
raise unittest.SkipTest("missing threading support")
36993685
t.start()
37003686
started.wait()
37013687

@@ -3749,8 +3735,6 @@ def serve():
37493735
remote.send(remote.recv(4))
37503736

37513737
t = threading.Thread(target=serve)
3752-
# TODO XXX GraalVM change
3753-
raise unittest.SkipTest("missing threading support")
37543738
t.start()
37553739
# Client wait until server setup and perform a connect.
37563740
evt.wait()

0 commit comments

Comments
 (0)