fplll / fpylll

A Python interface for https://github.com/fplll/fplll
GNU General Public License v2.0
123 stars 62 forks source link

Test failure in gso.pyx #273

Closed orlitzky closed 5 months ago

orlitzky commented 8 months ago

Original report at https://bugs.gentoo.org/928409

In short,

============================= test session starts ==============================
platform linux -- Python 3.10.14, pytest-8.1.1, pluggy-1.4.0 -- /var/tmp/portage/dev-python/fpylll-0.6.1/work/fpylll-0.6.1-python3_10/install/usr/bin/python3.10
cachedir: .pytest_cache
rootdir: /var/tmp/portage/dev-python/fpylll-0.6.1/work/fpylll-0.6.1
configfile: pytest.ini
testpaths: tests, docs, src/fpylll
collecting ... collected 83 items

...

=================================== FAILURES ===================================
______________________________ [doctest] gso.pyx _______________________________
562 
563     @property
564     def float_type(self):
565         """
566         >>> from fpylll import IntegerMatrix, GSO, FPLLL
567         >>> A = IntegerMatrix(10, 10)
568         >>> M = GSO.Mat(A)
569         >>> M.float_type
570         'double'
571         >>> FPLLL.set_precision(100)
Expected:
    53
Got:
    100
orlitzky commented 5 months ago

Fixed in https://github.com/fplll/fpylll/commit/fc432b21fa7e4b9891f5b761b3539989eb958f2b