diff options
author | Guido van Rossum <guido@python.org> | 2007-04-11 17:08:28 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2007-04-11 17:08:28 (GMT) |
commit | b5ddcfd2a203336f3ba7bb1111cda462333c9e1f (patch) | |
tree | 43ff7e83daded1ea92c4a30a948adfc500dbd3ad /Lib/test/test_array.py | |
parent | d0712817ac7139505a38613bb244a66115c24f52 (diff) | |
download | cpython-b5ddcfd2a203336f3ba7bb1111cda462333c9e1f.zip cpython-b5ddcfd2a203336f3ba7bb1111cda462333c9e1f.tar.gz cpython-b5ddcfd2a203336f3ba7bb1111cda462333c9e1f.tar.bz2 |
Make array().tofile() work with a new I/O object.
Diffstat (limited to 'Lib/test/test_array.py')
-rwxr-xr-x | Lib/test/test_array.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_array.py b/Lib/test/test_array.py index 692760c..ae7156b 100755 --- a/Lib/test/test_array.py +++ b/Lib/test/test_array.py @@ -147,7 +147,7 @@ class BaseTest(unittest.TestCase): def test_tofromfile(self): a = array.array(self.typecode, 2*self.example) self.assertRaises(TypeError, a.tofile) - self.assertRaises(TypeError, a.tofile, cStringIO.StringIO()) + ##self.assertRaises(TypeError, a.tofile, cStringIO.StringIO()) f = open(test_support.TESTFN, 'wb') try: a.tofile(f) |