summaryrefslogtreecommitdiff
path: root/Lib/test/test_io.py
diff options
context:
space:
mode:
authorSenthil Kumaran <orsenthil@gmail.com>2010-01-08 19:04:16 +0000
committerSenthil Kumaran <orsenthil@gmail.com>2010-01-08 19:04:16 +0000
commitce8e33a095030e7af94f58f9da196b240bdf0476 (patch)
treeb0ba50cbb6e85c6be6f6e6a870e4232be50a0f9c /Lib/test/test_io.py
parent3ddc435af6873c6304058d7bcbcb19ee4fba7781 (diff)
downloadcpython-git-ce8e33a095030e7af94f58f9da196b240bdf0476.tar.gz
Reverting the Revision: 77368. I committed Flox's big patch for tests by
mistake. ( It may come in for sure tough)
Diffstat (limited to 'Lib/test/test_io.py')
-rw-r--r--Lib/test/test_io.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_io.py b/Lib/test/test_io.py
index 48ffd455de..a90dd504a3 100644
--- a/Lib/test/test_io.py
+++ b/Lib/test/test_io.py
@@ -381,11 +381,11 @@ class IOTest(unittest.TestCase):
f = None
try:
with self.open(support.TESTFN, "wb", bufsize) as f:
- 1 // 0
+ 1/0
except ZeroDivisionError:
self.assertEqual(f.closed, True)
else:
- self.fail("1 // 0 didn't raise an exception")
+ self.fail("1/0 didn't raise an exception")
# issue 5008
def test_append_mode_tell(self):