Brock Pytlik wrote:
Shawn Walker wrote:
Brock Pytlik wrote:
Webrev:
http://cr.opensolaris.org/~bpytlik/ips-8868-v1/
Bug:
8868 Changes needed to handle package descriptions in the pkg Python
API.
Thanks for Danek for the pointer to the textwrap module.
[snip]
tests/cli/t_pkg_info.py:
line 184: You likely need to add LANG=C or something similar here
since the asserts following are locale-specific.
Do you have an example I can crib from? Aren't there a ton of other
places that will break under different locales?
I'm sure there are lots of places that may need fixing in our unit
tests, but we don't need more contributions :)
However, I had mistakenly believed you were executing a specific
command, as opposed to just using self.pkg().
So, for now, I'd just log a bug that says our unit tests need to be
locale-aware (or locale-safe at the least) and move on.
Cheers,
--
Shawn Walker
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss