Sunday, 15 January 2012

python - Tox: run tests only on certain platforms -


I have a test class in tox.ini that just go to Windows.

How can I configure the toxin to run only the test section on a specific platform?

TOKE 1.8 + has introduced the new platform setting from here .

A testenv can define a new platform setting. It does not include its value in the string obtained from calling platform.platform () .


No comments:

Post a Comment