diff options
Diffstat (limited to 'Lib/test/test_startfile.py')
-rw-r--r-- | Lib/test/test_startfile.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Lib/test/test_startfile.py b/Lib/test/test_startfile.py index 8d23dbb71e..7a003eb54b 100644 --- a/Lib/test/test_startfile.py +++ b/Lib/test/test_startfile.py @@ -9,9 +9,11 @@ import unittest from test import support +import os +from os import path + +startfile = support.get_attribute(os, 'startfile') -# use this form so that the test is skipped when startfile is not available: -from os import startfile, path class TestCase(unittest.TestCase): def test_nonexisting(self): |