Update of /cvsroot/python/python/dist/src/Lib/test In directory slayer.i.sourceforge.net:/tmp/cvs-serv21348/Lib/test Modified Files: test_fcntl.py Log Message: Use test_support.TESTFN as the temporary filename. Fix a minor stylistic nit. This closes SourceForge bug #117032. Index: test_fcntl.py =================================================================== RCS file: /cvsroot/python/python/dist/src/Lib/test/test_fcntl.py,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -r1.11 -r1.12 *** test_fcntl.py 2000/10/12 16:01:55 1.11 --- test_fcntl.py 2000/10/18 01:21:38 1.12 *************** *** 7,16 **** import FCNTL import os, sys ! from test_support import verbose ! filename = '/tmp/delete-me' # the example from the library docs ! f = open(filename,'w') rv = fcntl.fcntl(f.fileno(), FCNTL.F_SETFL, os.O_NONBLOCK) if verbose: --- 7,16 ---- import FCNTL import os, sys ! from test_support import verbose, TESTFN ! filename = TESTFN # the example from the library docs ! f = open(filename, 'w') rv = fcntl.fcntl(f.fileno(), FCNTL.F_SETFL, os.O_NONBLOCK) if verbose:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4