use '# doctest: +ELLIPSIS' to avoid Travis failures due to numerical differences between machines