Cosimo Lupo
c02ac33e35
py23_test: add test for second None argument
2016-12-02 12:15:47 +00:00
Cosimo Lupo
7abd4d281c
py23_test: minor whitespace
2016-12-01 17:24:01 +00:00
Cosimo Lupo
2fbf371232
py23_test: add unit tests for isclose() backport
2016-12-01 17:13:09 +00:00
Cosimo Lupo
63621b347d
py23_test: in round2/round3, drop support for ndigit with __index__ attribute; add test for when a number is already an integer
2016-11-30 13:01:20 +00:00
Cosimo Lupo
152c6d81b3
[py23_test] import round2 and round3 in py23_test module
2016-09-13 18:48:18 +02:00
Cosimo Lupo
c7edcfec30
[py23_test] borrow round() test cases from cpython 2.7 test suite
2016-09-13 07:13:32 +01:00
Behdad Esfahbod
2a0359af4d
Always import * from py23
...
Since py23 modifies some essential builtins, it's safe to import
everything all the time. At least, that's how it was designed.
It's a bug if importing * breaks some code.
2016-04-06 18:15:43 -07:00
Cosimo Lupo
7c6744e639
[py23_test] pass os.environ copy instead of empty dict to avoid issue on Windows
...
Otherwise I get this:
Fatal Python error: Failed to initialize Windows random API (CryptoGen)
https://ci.appveyor.com/project/anthrotype/fonttools/build/job/qhf8d89or4d5hiyd
see: http://bugs.python.org/issue20614
2016-02-07 01:19:45 +00:00
Cosimo Lupo
4a783326b8
[py23_test] need to use os.pathsep as Windows uses ";", not ":"
2016-02-07 01:19:45 +00:00
Cosimo Lupo
4874264dd9
[py23_test] pass the sys.path as PYTHONPATH to python subprocess
...
Apparently I need to do that, or the child python process does not see fontTools in the path.
Another workaround woud be to ensure that fontTools is installed, at least in editable or develop mode (via `pip install -e .`). But the way we temporarily extend the PYTHONPATH in run-test.sh is less intrusive.
2016-02-07 01:19:45 +00:00
Cosimo Lupo
b63935c6f8
[py23_test] test py23.open for piping binary data through stdin/stdout
2016-01-25 18:25:07 +00:00