File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 3
3
# accompanying file LICENSE_1_0.txt or copy at
4
4
# http://www.boost.org/LICENSE_1_0.txt)
5
5
6
+ import sys
6
7
import unittest
7
8
import autoconfig
8
9
import parser_test_case
@@ -30,12 +31,13 @@ def test( self ):
30
31
pass
31
32
32
33
def create_suite ():
33
- suite = unittest .TestSuite ()
34
- suite .addTest ( unittest .makeSuite (tester_t ))
34
+ suite = unittest .TestSuite ()
35
+ if sys .platform != 'win32' :
36
+ suite .addTest ( unittest .makeSuite (tester_t ))
35
37
return suite
36
38
37
39
def run_suite ():
38
40
unittest .TextTestRunner (verbosity = 2 ).run ( create_suite () )
39
41
40
42
if __name__ == "__main__" :
41
- run_suite ()
43
+ run_suite ()
Original file line number Diff line number Diff line change @@ -198,7 +198,7 @@ def create_suite():
198
198
suite = unittest .TestSuite ()
199
199
suite .addTest ( unittest .makeSuite (file_by_file_tester_t ))
200
200
suite .addTest ( unittest .makeSuite (all_at_once_tester_t ))
201
- if sys .platform == 'win32' :
201
+ if sys .platform == 'win32' and autoconfig . get_pdb_global_ns () :
202
202
suite .addTest ( unittest .makeSuite (pdb_based_tester_t ))
203
203
204
204
return suite
You can’t perform that action at this time.
0 commit comments