[issue19492] Report skipped distutils tests as skipped

Arfrever Frehtes Taifersar Arahesis report at bugs.python.org
Mon Nov 4 17:48:39 CET 2013


Arfrever Frehtes Taifersar Arahesis added the comment:

> Lib/distutils/tests/test_build_ext.py
...
> -            ALREADY_TESTED = True
> +            ALREADY_TESTED = type(self).__name__

Why this change?

> Lib/distutils/tests/test_build_ext.py
...
> +    @unittest.skipIf(sys.version < '2.6',
> +                     'site.USER_SITE was introduced in 2.6')
>      def test_user_site(self):
> -        # site.USER_SITE was introduced in 2.6
> -        if sys.version < '2.6':
> -            return

This check probably could be deleted.

----------
nosy: +Arfrever

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


More information about the Python-bugs-list mailing list