projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a6dd29
)
str/bytes strictness.
author
Guido van Rossum
<guido@python.org>
Mon, 27 Aug 2007 23:36:53 +0000
(23:36 +0000)
committer
Guido van Rossum
<guido@python.org>
Mon, 27 Aug 2007 23:36:53 +0000
(23:36 +0000)
Lib/test/test_resource.py
patch
|
blob
|
history
diff --git
a/Lib/test/test_resource.py
b/Lib/test/test_resource.py
index 25fea977c3021478fb06e3c0dc06926e15deffda..12165607768afea1800e5665b6367093c49f395b 100644
(file)
--- a/
Lib/test/test_resource.py
+++ b/
Lib/test/test_resource.py
@@
-50,9
+50,9
@@
class ResourceTest(unittest.TestCase):
limit_set = False
f = open(test_support.TESTFN, "wb")
try:
- f.write("X" * 1024)
+ f.write(
b
"X" * 1024)
try:
- f.write("Y")
+ f.write(
b
"Y")
f.flush()
except IOError:
if not limit_set: