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 11import os .path
22import unittest
3- from test import support
4- from test .support import import_helper
53
4+ from test .support import (
5+ check_sanitizer ,
6+ import_helper ,
7+ load_package_tests ,
8+ requires ,
9+ )
610
7- if support .check_sanitizer (address = True , memory = True ):
11+
12+ if check_sanitizer (address = True , memory = True ):
813 raise unittest .SkipTest ("Tests involving libX11 can SEGFAULT on ASAN/MSAN builds" )
914
1015# Skip test if _tkinter wasn't built.
1116import_helper .import_module ('_tkinter' )
1217
1318# Skip test if tk cannot be initialized.
14- support . requires ('gui' )
19+ requires ('gui' )
1520
1621
1722def 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