[Python-checkins] python/dist/src/Lib/test test_os.py,1.24,1.25

tim_one at users.sourceforge.net tim_one at users.sourceforge.net
Tue Jun 8 16:34:46 EDT 2004


Update of /cvsroot/python/python/dist/src/Lib/test
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13936/Lib/test

Modified Files:
	test_os.py 
Log Message:
test_devnull():  Use assertEqual() instead of an assert stmt.


Index: test_os.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_os.py,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -d -r1.24 -r1.25
*** test_os.py	8 Jun 2004 08:29:32 -0000	1.24
--- test_os.py	8 Jun 2004 20:34:34 -0000	1.25
***************
*** 341,345 ****
          f.close()
          f = file(os.devnull, 'r')
!         assert f.read() == ''
          f.close()
  
--- 341,345 ----
          f.close()
          f = file(os.devnull, 'r')
!         self.assertEqual(f.read(), '')
          f.close()
  




More information about the Python-checkins mailing list