no_man_pages = "No manual entry for mlogin\nNo manual entry for msign\n"
stderr actually returns
No manual entry for mlogin\nSee 'man 7 undocumented' for help when manual pages are not available.\nNo manual entry for msign\nSee 'man 7 undocumented' for help when manual pages are not available.\n
I'm not clear on the need for no_man_pages or why it is defined so I thought I'd check before altering the code.
Tested on Debian and Ubuntu.
The manpage test fails for
self.assertIn(stderr, ("", no_man_pages))
because
no_man_pages = "No manual entry for mlogin\nNo manual entry for msign\n"
stderr actually returns
No manual entry for mlogin\nSee 'man 7 undocumented' for help when manual pages are not available.\nNo manual entry for msign\nSee 'man 7 undocumented' for help when manual pages are not available.\n
I'm not clear on the need for no_man_pages or why it is defined so I thought I'd check before altering the code.