4 Commits

Author SHA1 Message Date
Cosimo Lupo
3543e4f24e
change imports from ufoLib to fontTools.ufoLib 2018-11-01 16:41:08 +00:00
Cosimo Lupo
a807ab2b93
tests: use math.isclose to compare float coordinates
using the default tolerance which is 1e-9, i.e. assures that two floats are the same
within about 9 decimal digits

https://docs.python.org/3/library/math.html#math.isclose
2018-09-26 12:13:39 +01:00
Cosimo Lupo
7dbe476f64
pens_test.py: fix test failure with latest defcon
somehow the segmentType of the first move point of a contour is a unicode string now, and the test was comparing the repr...
2018-09-05 19:20:37 +01:00
Cosimo Lupo
9be3901795 move Lib/cu2qu/test to tests/ folder
There is no need to install the test suite with the package.
Let's put it outside like it's recommended by pytest.
2017-10-31 12:58:09 +00:00