summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-04-04 19:29:29 +0000
committerNeal Norwitz <nnorwitz@gmail.com>2006-04-04 19:29:29 +0000
commitb349f4eed042465c9d8e4eaa882c4577ad6b5b21 (patch)
treed70a22b9dc64abe27cfe1583abbcfd2514a6c506
parentca46e5dcaa29c1abcbbd3daeba8454c10f3888b5 (diff)
downloadcpython-b349f4eed042465c9d8e4eaa882c4577ad6b5b21.tar.gz
we need os.path too for the normal run on windowsv2.5a1
-rw-r--r--Lib/test/test_startfile.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_startfile.py b/Lib/test/test_startfile.py
index 5c3d17d705..c4d12d708e 100644
--- a/Lib/test/test_startfile.py
+++ b/Lib/test/test_startfile.py
@@ -11,7 +11,7 @@ import unittest
from test import test_support
# use this form so that the test is skipped when startfile is not available:
-from os import startfile
+from os import startfile, path
class TestCase(unittest.TestCase):
def test_nonexisting(self):
@@ -21,12 +21,12 @@ class TestCase(unittest.TestCase):
self.assertRaises(OSError, startfile, u"nonexisting.vbs")
def test_empty(self):
- empty = os.path.join(os.path.dirname(__file__), "empty.vbs")
+ empty = path.join(path.dirname(__file__), "empty.vbs")
startfile(empty)
startfile(empty, "open")
def test_empty_u(self):
- empty = os.path.join(os.path.dirname(__file__), "empty.vbs")
+ empty = path.join(path.dirname(__file__), "empty.vbs")
startfile(unicode(empty, "mbcs"))
startfile(unicode(empty, "mbcs"), "open")