Home - Summaries: (main) : (py3.11) : (py3.12) : Everything - Nightly builds - Benchmarks - RPython - Builders - About

pypy/module/time/test/apptest_time.py::test_strftime_unicode

@pytest.mark.skipif(_WIN32, reason="fails to encode s")
    def test_strftime_unicode():
        import time
        s = u"ððððððððððððððððððððððð꿀"
        res = time.strftime(u"%D" + s, time.localtime(192039127))
>       assert res.endswith(s)
E       (application-level) AssertionError: assert False
E        +  where False = <built-in method endswith of str object at 0x000000000000101b>('ððððððððððððððððððððððð꿀')
E        +    where <built-in method endswith of str object at 0x000000000000101b> = ''.endswith

module/time/test/apptest_time.py:545: AssertionError
builder: own-macos-arm64 build #1383+
test: pypy/module/time/test/apptest_time.py::test_strftime_unicode