[CMF-checkins] CVS: CMF/CMFCore/tests - test_FSImage.py:1.1.2.2

Tres Seaver tseaver@zope.com
Wed, 8 May 2002 09:38:25 -0400


Update of /cvs-repository/CMF/CMFCore/tests
In directory cvs.zope.org:/tmp/cvs-serv9777/CMFCore/tests

Modified Files:
      Tag: CMF-1_3-branch
	test_FSImage.py 
Log Message:
 - Ensure that test file doesn't get mangled on Windows.

=== CMF/CMFCore/tests/test_FSImage.py 1.1.2.1 => 1.1.2.2 ===
 
         path = os.path.join( skin_path_name, 'test_image.gif' )
-        f = open( path )
+        f = open( path, 'rb' )
         try:
             data = f.read()
         finally: