Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

test_strptime raises a DeprecationWarning #117655

Closed
Labels
testsTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or error
@Eclips4

Description

@Eclips4

Bug report

Bug description:

./python -m test -v test_strptime== CPython 3.13.0a5+ (heads/main:ac45766673, Apr 8 2024, 23:14:32) [GCC 9.4.0]== Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.31 little-endian== Python build: debug== cwd: /home/eclips4/CLionProjects/cpython/build/test_python_worker_28987æ== CPU count: 16== encodings: locale=UTF-8 FS=utf-8== resources: all test resources are disabled, use -u option to unskip testsUsing random seed: 31039786300:00:00 load avg: 29.90 Run 1 test sequentially0:00:00 load avg: 29.90 [1/1] test_strptimetest_TimeRE_recreation_locale (test.test_strptime.CacheTests.test_TimeRE_recreation_locale) ... sys:1: DeprecationWarning: Parsing dates involving a day of month without a year specified is ambiguiousand fails to parse leap day. The default behavior will change in Python 3.15to either always raise an exception or to use a different default year (TBD).To avoid trouble, add a specific year to the input & format.See https://github.com/python/cpython/issues/70647.skipped 'test needs de_DE.UTF8 locale'

CPython versions tested on:

CPython main branch

Operating systems tested on:

Linux

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    testsTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp