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:
Kristján Valur Jónsson 2009-04-01 11:28:47 +00:00
parent e3944a5e1e
commit 42a40c59a0
7 changed files with 14 additions and 10 deletions

View file

@ -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)