diff options
author | Senthil Kumaran <orsenthil@gmail.com> | 2010-01-08 19:04:16 +0000 |
---|---|---|
committer | Senthil Kumaran <orsenthil@gmail.com> | 2010-01-08 19:04:16 +0000 |
commit | ce8e33a095030e7af94f58f9da196b240bdf0476 (patch) | |
tree | b0ba50cbb6e85c6be6f6e6a870e4232be50a0f9c /Lib/test/test_io.py | |
parent | 3ddc435af6873c6304058d7bcbcb19ee4fba7781 (diff) | |
download | cpython-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.py | 4 |
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): |