diff options
author | R. David Murray <rdmurray@bitdance.com> | 2009-03-30 23:05:48 +0000 |
---|---|---|
committer | R. David Murray <rdmurray@bitdance.com> | 2009-03-30 23:05:48 +0000 |
commit | 3db8a3432bd84b58bdc7da2c9872777c537a4d09 (patch) | |
tree | 1a274c25cb002b9cb4474ff0882e2e5a563f9038 /Lib/test/test_resource.py | |
parent | dc340eedaa71bb6a86fd887a807020ccf1cbf520 (diff) | |
download | cpython-git-3db8a3432bd84b58bdc7da2c9872777c537a4d09.tar.gz |
Change more tests to use import_module for the modules that
should cause tests to be skipped. Also rename import_function
to the more descriptive get_attribute and add a docstring.
Diffstat (limited to 'Lib/test/test_resource.py')
-rw-r--r-- | Lib/test/test_resource.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_resource.py b/Lib/test/test_resource.py index f354a1b637..52692a71ce 100644 --- a/Lib/test/test_resource.py +++ b/Lib/test/test_resource.py @@ -1,9 +1,9 @@ import unittest from test import test_support - -import resource import time +resource = test_support.import_module('resource') + # This test is checking a few specific problem spots with the resource module. class ResourceTest(unittest.TestCase): |