A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-checkins/2000-October/014301.html below:

[Python-checkins] CVS: python/dist/src/Lib/test test_fcntl.py,1.11,1.12

[Python-checkins] CVS: python/dist/src/Lib/test test_fcntl.py,1.11,1.12Fred L. Drake python-dev@python.org
Tue, 17 Oct 2000 18:21:43 -0700
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