Cosimo Lupo
a54b98f445
add test for stringifyattrs method
2015-07-03 18:20:41 +01:00
Cosimo Lupo
b1bd77f9f6
fix xmlWriter and _l_t_a_g tests failing on Windows because of \r\n
2015-06-10 10:17:05 +01:00
Behdad Esfahbod
bd67253118
Some more whitespace fixes from pep8 tool
2015-04-26 01:59:01 -04:00
Behdad Esfahbod
d73e707317
Always write encoding as "UTF-8" in XML output
...
Fixes https://github.com/behdad/fonttools/issues/246
2015-04-21 11:07:48 -07:00
Sascha Brawer
dfe0b85b9d
Test that XMLWriter keeps capitalization of passed encoding
...
Unit test for #246
2015-04-21 11:01:01 -07:00
Behdad Esfahbod
8b0152f0a1
Fix XMLWriter to take sinks that accept both bytes() and unicodes()
...
Fix xmlWriter_test with python3 as well.
2015-04-14 19:07:34 -07:00
Sascha Brawer
2ac42ad3ec
Support unittests in addition to doctests
...
The Python libraries come with two ways of writing unittests:
module unittest, and module doctest. In some cases, unittest
is more natural (less cumbersome) than doctest.
Wrote tests on xmlWriter for illustration.
2015-04-14 17:52:17 -07:00