niner / inline-python-pm

Inline::Python - Write Perl subs and classes in Python.
https://metacpan.org/release/Inline-Python
20 stars 13 forks source link

Tests fail on perl compiled with -Duselongdouble #22

Closed Tux closed 7 years ago

Tux commented 7 years ago
t/21arrayref.t ............ 1/19
#   Failed test at t/21arrayref.t line 55.
#          got: '0.100000000000000006'
#     expected: '0.1'

#   Failed test at t/21arrayref.t line 58.
#          got: '0.200000000000000011'
#     expected: '0.2'
# Looks like you failed 2 tests of 19.
t/21arrayref.t ............ Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/19 subtests
niner commented 7 years ago

Thanks for the report! Fixed in commit 2a158a54f0dd7a3d0268b455dfb528b0be7dbd67 part of version 0.56