diff options
author | Arfrever Frehtes Taifersar Arahesis <Arfrever@Gentoo.Org> | 2011-08-25 23:35:48 +0200 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <Arfrever@Gentoo.Org> | 2011-08-25 23:35:48 +0200 |
commit | 48f340f78ef75efe8813045b9a75aa9839b89690 (patch) | |
tree | ec194489527e1f57b87f646f8291298f1d2c047a /pym/portage/tests/ebuild | |
parent | 5970a41fc60fef89fd4b1bbe45a6c108452b267f (diff) | |
download | portage-48f340f78ef75efe8813045b9a75aa9839b89690.tar.gz portage-48f340f78ef75efe8813045b9a75aa9839b89690.tar.bz2 portage-48f340f78ef75efe8813045b9a75aa9839b89690.zip |
Add some comments, which will allow to easier find code, which should be
removed when support for older versions of Python is removed.
Diffstat (limited to 'pym/portage/tests/ebuild')
-rw-r--r-- | pym/portage/tests/ebuild/test_array_fromfile_eof.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pym/portage/tests/ebuild/test_array_fromfile_eof.py b/pym/portage/tests/ebuild/test_array_fromfile_eof.py index f965b8384..efcd9156f 100644 --- a/pym/portage/tests/ebuild/test_array_fromfile_eof.py +++ b/pym/portage/tests/ebuild/test_array_fromfile_eof.py @@ -36,6 +36,7 @@ class ArrayFromfileEofTestCase(TestCase): eof = True else: try: + # Python >=3.2 data.append(a.tobytes()) except AttributeError: data.append(a.tostring()) |