diff options
author | Kristján Valur Jónsson <kristjan@ccpgames.com> | 2009-04-01 11:28:47 +0000 |
---|---|---|
committer | Kristján Valur Jónsson <kristjan@ccpgames.com> | 2009-04-01 11:28:47 +0000 |
commit | ef02b6c15be2d3848ad8e454e2d4ced2e4e2f457 (patch) | |
tree | 1f32353155d1966f8a4e5351194c7d65cfd19d90 /Lib/test/test_posix.py | |
parent | 4db1bb5782d1f88245144b19456a4c915a3820d4 (diff) | |
download | cpython-ef02b6c15be2d3848ad8e454e2d4ced2e4e2f457.tar.gz |
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 b1a9caf9ac..ff9b106e1c 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) |