[issue19353] on RHEL6 simple build fails with test_linux_constants (test.test_resource.ResourceTest)

Vajrasky Kok report at bugs.python.org
Wed Oct 23 04:30:29 CEST 2013


Vajrasky Kok added the comment:

Do we really need to test these constants in unit test?

Other constants such as RLIMIT_STACK, RLIMIT_DATA, etc are not being tested. Other consideration includes people built custom kernel without these constants, or maybe they have outdated glibc.

Additionally, it is very uncommon to use os.uname in unittest. Other than this test, it is only Lib/test/test_locale.py that uses os.uname.

----------
nosy: +vajrasky

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


More information about the Python-bugs-list mailing list