This is an archive of the discontinued Mercurial Phabricator instance.

tests: skip wireproto clientreactor tests on Python 3.6.0-3.6.3 inclusive
ClosedPublic

Authored by durin42 on Nov 1 2018, 5:17 PM.

Details

Summary

See comment next to the if statement for sad details.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

durin42 created this revision.Nov 1 2018, 5:17 PM
yuja added a subscriber: yuja.Nov 2 2018, 9:32 PM

if name == 'main':
+ if (3, 6, 0) <= sys.version_info <= (3, 6, 3):
+ # Python 3.6.0 through 3.6.3 inclusive shipped with
+ # https://bugs.python.org/issue31825 and we can't run these
+ # tests on those specific versions of Python. Sigh.
+ sys.exit(0)

Changed 0 to 80 to flag the test as skipped.

This revision was automatically updated to reflect the committed changes.