On OSX the 'man' command lacks an '--encoding' argument which we use to normalize some of the results. As a result stem.manual.from_man and stem.manual.from_remote don't have all the fields available on other platforms.
Trac: Priority: Medium to Low Description: OSX's man does not support --encoding, so an attempt to call it fails in the above tests.
to
On OSX the 'man' command lacks an '--encoding' argument which we use to normalize some of the results. As a result stem.manual.from_man and stem.manual.from_remote don't have all the fields available on other platforms.
For now a couple unit tests are disabled on OSX due to this. Keywords: N/Adeleted, utils added Summary: test_parsing_with_example, test_parsing_with_unknown_options, test_saving_manual failures on OSX to OSX's man command lacks '--encoding' argument Status: reopened to new
the test_from_man_when_manual_is_unavailable() test needs to also include
the patch() line for HAS_ENCODING_ARG. otherwise, it'll still run
and since the resulting command = 'man -P cat tor' (on bsd, mac and slackware),
won't be equal to 'man --encoding=ascii -P cat tor' .. it'll fail.