diff options
author | Kristján Valur Jónsson <kristjan@ccpgames.com> | 2009-04-01 11:28:47 (GMT) |
---|---|---|
committer | Kristján Valur Jónsson <kristjan@ccpgames.com> | 2009-04-01 11:28:47 (GMT) |
commit | 42a40c59a0bc94d29e5fd61cada2d8c0763211d6 (patch) | |
tree | 94eee2be7820a758772406882a7393a7e9e7155a /Lib/test/test_posix.py | |
parent | e3944a5e1ecf67aa722fd9ce0c0a4ee72ee5ba2d (diff) | |
download | cpython-42a40c59a0bc94d29e5fd61cada2d8c0763211d6.zip cpython-42a40c59a0bc94d29e5fd61cada2d8c0763211d6.tar.gz cpython-42a40c59a0bc94d29e5fd61cada2d8c0763211d6.tar.bz2 |
Allow skipping of regression tests not supported on windows. This reduces noise in the regression test suite for py3k on Windows.
Diffstat (limited to 'Lib/test/test_posix.py')
-rw-r--r-- | Lib/test/test_posix.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/test/test_posix.py b/Lib/test/test_posix.py index b1a9caf..ff9b106 100644 --- a/Lib/test/test_posix.py +++ b/Lib/test/test_posix.py @@ -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) |