diff options
author | Arfrever Frehtes Taifersar Arahesis <Arfrever@Gentoo.Org> | 2010-08-05 16:51:34 +0200 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <Arfrever@Gentoo.Org> | 2010-08-05 16:51:34 +0200 |
commit | dee1323cd34ed867b16f898f1ea7732af6d235da (patch) | |
tree | 79637e84e6f7e5b7df45e58822ac0901eed72aba /pym/portage/tests | |
parent | eb863416cde2c7b7a7ab8f70b5bac4b4fc4d8aee (diff) | |
download | portage-dee1323cd34ed867b16f898f1ea7732af6d235da.tar.gz portage-dee1323cd34ed867b16f898f1ea7732af6d235da.tar.bz2 portage-dee1323cd34ed867b16f898f1ea7732af6d235da.zip |
EOFError can still be raised by array.fromfile() in Python >=2.6.6 and >=2.7.1.
Diffstat (limited to 'pym/portage/tests')
-rw-r--r-- | pym/portage/tests/ebuild/test_array_fromfile_eof.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/pym/portage/tests/ebuild/test_array_fromfile_eof.py b/pym/portage/tests/ebuild/test_array_fromfile_eof.py index c32a15cb0..d8277f275 100644 --- a/pym/portage/tests/ebuild/test_array_fromfile_eof.py +++ b/pym/portage/tests/ebuild/test_array_fromfile_eof.py @@ -28,7 +28,6 @@ class ArrayFromfileEofTestCase(TestCase): a = array.array('B') try: a.fromfile(f, len(input_bytes) + 1) - # EOFError was raised in Python <2.6.6 and <2.7.1. except (EOFError, IOError): # python-3.0 lost data here eof = True |