﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
35661	`test_too_many_digits_to_render` test fails with PyPy3.10 7.3.16	Michał Górny	Mariusz Felisiak	"When running the test suite in 5.0.8 (also reproduced via `tox -e pypy3` on  a05187fce613a70a5e5c93c978d36497a10fcf1f):

{{{
======================================================================
ERROR: test_too_many_digits_to_render (template_tests.filter_tests.test_floatformat.FunctionTests) [<object object at 0x000055ed663acdd8>] (value='10000000000000000000000000000[...]0000000')
----------------------------------------------------------------------
Traceback (most recent call last):
  File ""/usr/lib/pypy3.10/unittest/case.py"", line 59, in testPartExecutor
    yield
  File ""/usr/lib/pypy3.10/unittest/case.py"", line 498, in subTest
    yield
  File ""/tmp/portage/dev-python/django-5.0.8/work/Django-5.0.8/tests/template_tests/filter_tests/test_floatformat.py"", line 153, in tes
t_too_many_digits_to_render
    self.assertEqual(floatformat(value), value)
  File ""/tmp/portage/dev-python/django-5.0.8/work/Django-5.0.8/django/template/defaultfilters.py"", line 156, in floatformat
    d = Decimal(input_val)
  File ""/usr/lib/pypy3.10/_pydecimal.py"", line 566, in __new__
    self._int = str(int(intpart+fracpart))
ValueError: Exceeds the limit (4300) for integer string conversion: value has 1000001 digits

----------------------------------------------------------------------
Ran 16827 tests in 541.813s

FAILED (errors=1, skipped=1300, expected failures=5)
}}}
"	Bug	closed	Template system	5.0	Normal	fixed		Michał Górny Sarah Boyce	Ready for checkin	1	0	0	0	0	0
