[Zope3-checkins] CVS: Zope3/src/zope/app/fssync/tests - test_committer.py:1.5

Guido van Rossum guido@python.org
Wed, 28 May 2003 11:11:07 -0400


Update of /cvs-repository/Zope3/src/zope/app/fssync/tests
In directory cvs.zope.org:/tmp/cvs-serv6388

Modified Files:
	test_committer.py 
Log Message:
test_read_file() should write the file in binary mode.


=== Zope3/src/zope/app/fssync/tests/test_committer.py 1.4 => 1.5 ===
--- Zope3/src/zope/app/fssync/tests/test_committer.py:1.4	Wed May 28 10:55:57 2003
+++ Zope3/src/zope/app/fssync/tests/test_committer.py	Wed May 28 11:11:07 2003
@@ -175,7 +175,7 @@
 
     def test_read_file(self):
         data = "12345\rabcde\n12345\r\nabcde"
-        tfn = self.tempfile(data)
+        tfn = self.tempfile(data, "wb")
         x = self.com.read_file(tfn)
         self.assertEqual(x, data)