mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Allow skipping of regression tests not supported on windows. This reduces noise in the regression test suite for py3k on Windows.
This commit is contained in:
parent
e3944a5e1e
commit
42a40c59a0
7 changed files with 14 additions and 10 deletions
|
@ -1,6 +1,7 @@
|
|||
"Test posix functions"
|
||||
|
||||
from test import support
|
||||
posix = support.import_module('posix') #skip if not supported
|
||||
|
||||
import time
|
||||
import os
|
||||
|
@ -9,8 +10,6 @@ import shutil
|
|||
import unittest
|
||||
import warnings
|
||||
|
||||
posix = support.import_module('posix')
|
||||
|
||||
warnings.filterwarnings('ignore', '.* potential security risk .*',
|
||||
RuntimeWarning)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue