[issue12326] Linux 3: tests should avoid using sys.platform == 'linux2'

Martin v. Löwis report at bugs.python.org
Mon Jun 13 21:11:06 CEST 2011


Martin v. Löwis <martin at v.loewis.de> added the comment:

I suggest to change sys.platform to 'linux' in future releases (3.3). For bugfix releases (2.7, 3.2), I'd keep it as 'linux2' even on Linux 3. For security-only releases (2.6, 3.1), no change should be made.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12326>
_______________________________________


More information about the Python-bugs-list mailing list