Changeset 391 for python/trunk/Lib/test/test_startfile.py
- Timestamp:
- Mar 19, 2014, 11:31:01 PM (11 years ago)
- Location:
- python/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
python/trunk
-
Property svn:mergeinfo
set to
/python/vendor/Python-2.7.6 merged eligible /python/vendor/current merged eligible
-
Property svn:mergeinfo
set to
-
python/trunk/Lib/test/test_startfile.py
r2 r391 10 10 import unittest 11 11 from test import test_support 12 import os 13 from os import path 14 from time import sleep 12 15 13 # use this form so that the test is skipped when startfile is not available: 14 from os import startfile, path 16 startfile = test_support.get_attribute(os, 'startfile') 17 15 18 16 19 class TestCase(unittest.TestCase): … … 25 28 startfile(empty) 26 29 startfile(empty, "open") 30 # Give the child process some time to exit before we finish. 31 # Otherwise the cleanup code will not be able to delete the cwd, 32 # because it is still in use. 33 sleep(0.1) 27 34 28 35 def test_empty_u(self): … … 30 37 startfile(unicode(empty, "mbcs")) 31 38 startfile(unicode(empty, "mbcs"), "open") 39 sleep(0.1) 32 40 33 41 def test_main():
Note:
See TracChangeset
for help on using the changeset viewer.