File tree 2 files changed +8
-6
lines changed 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 3
3
if __name__ != 'test.support' :
4
4
raise ImportError ('support must be imported from the test package' )
5
5
6
- # import asyncio.events
6
+ import asyncio .events
7
7
import collections .abc
8
8
import contextlib
9
9
import errno
10
- # import faulthandler
10
+ import faulthandler
11
11
import fnmatch
12
12
import functools
13
13
# import gc
16
16
import importlib
17
17
import importlib .util
18
18
import locale
19
- # import logging.handlers
19
+ import logging .handlers
20
20
# import nntplib
21
21
import os
22
22
import platform
28
28
import subprocess
29
29
import sys
30
30
import sysconfig
31
- # import tempfile
31
+ import tempfile
32
32
import _thread
33
- # import threading
33
+ import threading
34
34
import time
35
35
import types
36
36
import unittest
37
- # import urllib.error
37
+ import urllib .error
38
38
import warnings
39
39
40
40
from .testresult import get_test_runner
Original file line number Diff line number Diff line change @@ -104,6 +104,7 @@ def test_nt_and_posix_stack_size(self):
104
104
105
105
thread .stack_size (0 )
106
106
107
+ @unittest .skip ("TODO: RUSTPYTHON, weakref destructors" )
107
108
def test__count (self ):
108
109
# Test the _count() function.
109
110
orig = thread ._count ()
@@ -133,6 +134,7 @@ def task():
133
134
time .sleep (POLL_SLEEP )
134
135
self .assertEqual (thread ._count (), orig )
135
136
137
+ @unittest .skip ("TODO: RUSTPYTHON, sys.unraisablehook" )
136
138
def test_unraisable_exception (self ):
137
139
def task ():
138
140
started .release ()
You can’t perform that action at this time.
0 commit comments