File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change 1
1
import os .path
2
2
import unittest
3
- from test import support
4
- from test .support import import_helper
5
3
4
+ from test .support import (
5
+ check_sanitizer ,
6
+ import_helper ,
7
+ load_package_tests ,
8
+ requires ,
9
+ )
6
10
7
- if support .check_sanitizer (address = True , memory = True ):
11
+
12
+ if check_sanitizer (address = True , memory = True ):
8
13
raise unittest .SkipTest ("Tests involving libX11 can SEGFAULT on ASAN/MSAN builds" )
9
14
10
15
# Skip test if _tkinter wasn't built.
11
16
import_helper .import_module ('_tkinter' )
12
17
13
18
# Skip test if tk cannot be initialized.
14
- support . requires ('gui' )
19
+ requires ('gui' )
15
20
16
21
17
22
def load_tests (* args ):
18
- return support . load_package_tests (os .path .dirname (__file__ ), * args )
23
+ return load_package_tests (os .path .dirname (__file__ ), * args )
You can’t perform that action at this time.
0 commit comments