summaryrefslogtreecommitdiff
path: root/Lib/test/test_startfile.py
diff options
context:
space:
mode:
authorR. David Murray <rdmurray@bitdance.com>2009-03-30 23:05:48 +0000
committerR. David Murray <rdmurray@bitdance.com>2009-03-30 23:05:48 +0000
commit3db8a3432bd84b58bdc7da2c9872777c537a4d09 (patch)
tree1a274c25cb002b9cb4474ff0882e2e5a563f9038 /Lib/test/test_startfile.py
parentdc340eedaa71bb6a86fd887a807020ccf1cbf520 (diff)
downloadcpython-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_startfile.py')
-rw-r--r--Lib/test/test_startfile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_startfile.py b/Lib/test/test_startfile.py
index 23e2708cc1..8eeae72eab 100644
--- a/Lib/test/test_startfile.py
+++ b/Lib/test/test_startfile.py
@@ -12,7 +12,7 @@ from test import test_support
import os
from os import path
-startfile = test_support.import_function(os, 'startfile')
+startfile = test_support.get_attribute(os, 'startfile')
class TestCase(unittest.TestCase):