[Zope3-checkins]
SVN: Zope3/branches/ZopeX3-3.0/src/zope/app/tests/dochttp.py
Merge rev 27286 from trunk.
Tim Peters
tim.one at comcast.net
Wed Sep 1 13:04:54 EDT 2004
Log message for revision 27388:
Merge rev 27286 from trunk.
Must open binary files in binary mode, else test fails on
Windows.
Changed:
U Zope3/branches/ZopeX3-3.0/src/zope/app/tests/dochttp.py
-=-
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/tests/dochttp.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/tests/dochttp.py 2004-09-01 16:44:08 UTC (rev 27387)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/tests/dochttp.py 2004-09-01 17:04:54 UTC (rev 27388)
@@ -82,11 +82,11 @@
for name in names:
requests = Requests(
- open(os.path.join(directory, name + ".request")),
+ open(os.path.join(directory, name + ".request"), 'rb'),
options.skip_request_header,
)
responses = Responses(
- open(os.path.join(directory, name + ".response")),
+ open(os.path.join(directory, name + ".response"), 'rb'),
options.skip_response_header,
)
More information about the Zope3-Checkins
mailing list