From: Finn B. <bc...@us...> - 2002-09-18 14:33:34
|
Update of /cvsroot/jython/bugtests In directory usw-pr-cvs1:/tmp/cvs-serv28783 Added Files: test370.py Log Message: [ 562943 ] os.path.getmtime misbehaves on nonfile --- NEW FILE: test370.py --- """ Basic test, just raises an TestError """ import support import os.path try: print os.path.getmtime('nonfile') except OSError: pass else: raise support.TestError('Should raise an OSError') |