Update of /cvsroot/pywin32/pywin32/win32/test
In directory sc8-pr-cvs1:/tmp/cvs-serv30450
Modified Files:
test_win32file.py
Log Message:
Indicate the test is expected to fail on 2.2
Index: test_win32file.py
===================================================================
RCS file: /cvsroot/pywin32/pywin32/win32/test/test_win32file.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** test_win32file.py 5 May 2003 01:01:00 -0000 1.1
--- test_win32file.py 24 Oct 2003 01:50:15 -0000 1.2
***************
*** 7,11 ****
class TestSimpleOps(unittest.TestCase):
def testSimpleFiles(self):
! fd, filename = tempfile.mkstemp()
os.close(fd)
os.unlink(filename)
--- 7,14 ----
class TestSimpleOps(unittest.TestCase):
def testSimpleFiles(self):
! try:
! fd, filename = tempfile.mkstemp()
! except AttributeError:
! self.fail("This test requires Python 2.3 or later")
os.close(fd)
os.unlink(filename)
|