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

gh-117655: Fixtest_strptime raises a DeprecationWarning#117668

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
gpshead merged 5 commits intopython:mainfromnineteendo:fix-test.test_strptime
May 11, 2024

Conversation

nineteendo
Copy link
Contributor

@nineteendonineteendo commentedApr 9, 2024
edited by bedevere-appbot
Loading

@bedevere-appbedevere-appbot added the testsTests in the Lib/test dir labelApr 9, 2024
@nineteendonineteendo marked this pull request as ready for reviewApril 9, 2024 08:07
@nineteendonineteendo marked this pull request as draftApril 9, 2024 09:55
@nineteendonineteendo marked this pull request as ready for reviewApril 9, 2024 12:03
@nineteendo

This comment was marked as outdated.

@erlend-aasland
Copy link
Contributor

@erlend-aasland, does this look better?

I'm not the correct person to review this. I'll request Greg's review, since he authored the recent change that introduced this deprecation warning.

nineteendo reacted with thumbs up emoji

@erlend-aasland
Copy link
Contributor

Please give Greg (and Paul) reasonable time to review before eventually pinging them. Quotingthe devguide:

Getting your pull request reviewed requires a reviewer to have the spare time and motivation to look at your pull request (we cannot force anyone to review pull requests and no one is employed to look at pull requests). If your pull request has not received any notice from reviewers (i.e., no comment made) after one month, first “ping” the issue on theissue tracker to remind the subscribers that the pull request needs a review. If you don’t get a response within a week after pinging the issue, you can post on theCore Development Discourse category to ask for someone to review your pull request.

@nineteendo
Copy link
ContributorAuthor

OK.

@nineteendo
Copy link
ContributorAuthor

nineteendo commentedMay 11, 2024
edited
Loading

Thanks. I'll ask on Discourse for someone else to review this as well.

gpshead reacted with thumbs up emoji

@nineteendo
Copy link
ContributorAuthor

Thanks, I didn't dare pinging you after the comment of Erlend.

@gpsheadgpshead merged commitabead54 intopython:mainMay 11, 2024
@nineteendonineteendo deleted the fix-test.test_strptime branchMay 11, 2024 21:46
@gpshead
Copy link
Member

no problem, i'm always overflowing with notifications so I easily miss things or have other priorities at times. thanks for the cleanup! I probably should've done this type of thing when making the original change. thanks for the pings!

nineteendo reacted with thumbs up emoji

@gpsheadgpshead added the needs backport to 3.13bugs and security fixes labelMay 11, 2024
@miss-islington-app
Copy link

Thanks@nineteendo for the PR, and@gpshead for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖 I'm not a witch! I'm not a witch!

miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestMay 11, 2024
…rning (pythonGH-117668)* Fix `test_strptime` raises a DeprecationWarning* Ignore deprecation warnings where appropriate.* Update Lib/test/datetimetester.pyThis is follow on work to silence unnecessary warnings from the test suite that changes forpython#70647 added.(cherry picked from commitabead54)Co-authored-by: Nice Zombies <nineteendo19d0@gmail.com>
@bedevere-app
Copy link

GH-118956 is a backport of this pull request to the3.13 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.13bugs and security fixes labelMay 11, 2024
gpshead pushed a commit that referenced this pull requestMay 11, 2024
…arning (GH-117668) (GH-118956)gh-117655: Prevent `test_strptime` from raising a DeprecationWarning (GH-117668)* Fix `test_strptime` raises a DeprecationWarning* Ignore deprecation warnings where appropriate.* Update Lib/test/datetimetester.pyThis is follow on work to silence unnecessary warnings from the test suite that changes for#70647 added.(cherry picked from commitabead54)Co-authored-by: Nice Zombies <nineteendo19d0@gmail.com>
@bedevere-bot
Copy link

⚠️⚠️⚠️ Buildbot failure⚠️⚠️⚠️

Hi! The buildbotAMD64 Ubuntu NoGIL 3.13 has failed when building commitd309474.

What do you need to do:

  1. Don't panic.
  2. Checkthe buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/all/#builders/1422/builds/11) and take a look at the build logs.
  4. Check if the failure is related to this commit (d309474) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/all/#builders/1422/builds/11

Failed tests:

  • worker>
  • <regrtest
  • test_math

Failed subtests:

  • test_map_timeout - test.test_concurrent_futures.test_process_pool.ProcessPoolSpawnProcessPoolExecutorTest.test_map_timeout

Summary of the results of the build (if available):

==

Click to see traceback logs
Traceback (most recent call last):  File"/home/ubuntu/buildarea/3.13.itamaro-ubuntu-aws.nogil/build/Lib/test/libregrtest/single.py", line178, in_runtest_env_changed_exc    _load_run_test(result, runtests)~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^  File"/home/ubuntu/buildarea/3.13.itamaro-ubuntu-aws.nogil/build/Lib/test/libregrtest/single.py", line125, in_load_run_test    test_mod= importlib.import_module(module_name)  File"/home/ubuntu/buildarea/3.13.itamaro-ubuntu-aws.nogil/build/Lib/importlib/__init__.py", line88, inimport_modulereturn _bootstrap._gcd_import(name[level:], package, level)~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  File"<frozen importlib._bootstrap>", line1387, in_gcd_import  File"<frozen importlib._bootstrap>", line1360, in_find_and_load  File"<frozen importlib._bootstrap>", line1324, in_find_and_load_unlockedModuleNotFoundError:No module named 'test.<regrtest worker>'Traceback (test.test_zipimport.CompressedZipImportTestCase.testTraceback) ... okTraceback (test.test_zipimport.UncompressedZipImportTestCase.testTraceback) ... okTraceback (most recent call last):  File"/home/ubuntu/buildarea/3.13.itamaro-ubuntu-aws.nogil/build/Lib/test/test_concurrent_futures/executor.py", line71, intest_map_timeoutself.assertEqual([None,None], results)~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^AssertionError:Lists differ: [None, None] != []Traceback (most recent call last):Warning --   File "/home/ubuntu/buildarea/3.13.itamaro-ubuntu-aws.nogil/build/Lib/test/support/__init__.py", line 199, in _force_runWarning --     return func(*args)Warning -- OSError: [Errno 39] Directory not empty: '/tmp/test_python_7s3a3wxc/tmpx3992ijw/python-installation/lib/python3.13'Warning -- Warning -- During handling of the above exception, another exception occurred:Warning -- Warning -- Traceback (most recent call last):Warning --   File "/home/ubuntu/buildarea/3.13.itamaro-ubuntu-aws.nogil/build/Lib/test/libregrtest/run_workers.py", line 393, in runWarning --     mp_result = self._runtest(test_name)Warning --   File "/home/ubuntu/buildarea/3.13.itamaro-ubuntu-aws.nogil/build/Lib/test/libregrtest/run_workers.py", line 353, in _runtestWarning --     retcode, tmp_files = self.run_tmp_files(worker_runtests,Warning --                          ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^Warning --                                             stdout_file.fileno())Warning --                                             ^^^^^^^^^^^^^^^^^^^^^Warning --   File "/home/ubuntu/buildarea/3.13.itamaro-ubuntu-aws.nogil/build/Lib/test/libregrtest/run_workers.py", line 293, in run_tmp_filesWarning --     os_helper.rmtree(tmp_dir)Warning --     ~~~~~~~~~~~~~~~~^^^^^^^^^Warning --   File "/home/ubuntu/buildarea/3.13.itamaro-ubuntu-aws.nogil/build/Lib/test/support/os_helper.py", line 465, in rmtreeWarning --     _rmtree(path)Warning --     ~~~~~~~^^^^^^Warning --   File "/home/ubuntu/buildarea/3.13.itamaro-ubuntu-aws.nogil/build/Lib/test/support/os_helper.py", line 449, in _rmtreeWarning --     _rmtree_inner(path)Warning --     ~~~~~~~~~~~~~^^^^^^Warning --   File "/home/ubuntu/buildarea/3.13.itamaro-ubuntu-aws.nogil/build/Lib/test/support/os_helper.py", line 445, in _rmtree_innerWarning --     _rmtree_inner(fullname)Warning --     ~~~~~~~~~~~~~^^^^^^^^^^Warning --   File "/home/ubuntu/buildarea/3.13.itamaro-ubuntu-aws.nogil/build/Lib/test/support/os_helper.py", line 445, in _rmtree_innerWarning --     _rmtree_inner(fullname)Warning --     ~~~~~~~~~~~~~^^^^^^^^^^Warning --   File "/home/ubuntu/buildarea/3.13.itamaro-ubuntu-aws.nogil/build/Lib/test/support/os_helper.py", line 445, in _rmtree_innerWarning --     _rmtree_inner(fullname)Warning --     ~~~~~~~~~~~~~^^^^^^^^^^Warning --   File "/home/ubuntu/buildarea/3.13.itamaro-ubuntu-aws.nogil/build/Lib/test/support/os_helper.py", line 446, in _rmtree_innerWarning --     _force_run(path, os.rmdir, fullname)Warning --     ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^Warning --   File "/home/ubuntu/buildarea/3.13.itamaro-ubuntu-aws.nogil/build/Lib/test/support/__init__.py", line 210, in _force_runWarning --     return func(*args)Warning -- OSError: [Errno 39] Directory not empty: '/tmp/test_python_7s3a3wxc/tmpx3992ijw/python-installation/lib/python3.13'Kill <WorkerThread #1 running test=test_source_encoding pid=231378 time=4 min 41 sec> process groupKill <WorkerThread #3 running test=test_pep646_syntax pid=234011 time=1.1 sec> process groupKill <WorkerThread #4 running test=test_regrtest pid=232605 time=2 min 11 sec> process groupKill <WorkerThread #5 running test=test_cppext pid=226868 time=9 min 48 sec> process groupKill <WorkerThread #6 running test=test_hashlib pid=233306 time=1 min 7 sec> process groupKill <WorkerThread #7 running test=test.test_asyncio.test_queues pid=233907 time=4.1 sec> process groupKill <WorkerThread #8 running test=test.test_multiprocessing_spawn.test_misc pid=230565 time=4 min 50 sec> process groupKill <WorkerThread #9 running test=test.test_gdb.test_pretty_print pid=229100 time=8 min 27 sec> process groupKill <WorkerThread #10 running test=test_pyclbr pid=233591 time=36.5 sec> process group

@bedevere-bot
Copy link

⚠️⚠️⚠️ Buildbot failure⚠️⚠️⚠️

Hi! The buildbotAMD64 Ubuntu NoGIL Refleaks 3.x has failed when building commitabead54.

What do you need to do:

  1. Don't panic.
  2. Checkthe buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/all/#builders/1226/builds/1859) and take a look at the build logs.
  4. Check if the failure is related to this commit (abead54) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/all/#builders/1226/builds/1859

Failed tests:

  • test.test_concurrent_futures.test_process_pool
  • test.test_multiprocessing_spawn.test_misc
  • test_eintr
  • test.test_multiprocessing_spawn.test_manager

Failed subtests:

  • test_map_timeout - test.test_concurrent_futures.test_process_pool.ProcessPoolForkserverProcessPoolExecutorTest.test_map_timeout
  • test_map_timeout - test.test_concurrent_futures.test_process_pool.ProcessPoolSpawnProcessPoolExecutorTest.test_map_timeout
  • test_wait_integer - test.test_multiprocessing_spawn.test_misc.TestWait.test_wait_integer
  • test_all - test.test_eintr.EINTRTests.test_all
  • test_lockf -main.FNTLEINTRTest.test_lockf

Summary of the results of the build (if available):

==

Click to see traceback logs
Traceback (most recent call last):  File"/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.refleak.nogil/build/Lib/multiprocessing/process.py", line313, in_bootstrapself.run()~~~~~~~~^^  File"/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.refleak.nogil/build/Lib/multiprocessing/process.py", line108, inrunself._target(*self._args,**self._kwargs)~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  File"/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.refleak.nogil/build/Lib/test/_test_multiprocessing.py", line5329, inchild    join_process(p)~~~~~~~~~~~~^^^  File"/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.refleak.nogil/build/Lib/test/_test_multiprocessing.py", line105, injoin_process    threading_helper.join_thread(process)~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^  File"/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.refleak.nogil/build/Lib/test/support/threading_helper.py", line116, injoin_threadraiseAssertionError(msg)AssertionError:failed to join the thread in 30.0 secondsProcess Process-314:1:Traceback (most recent call last):  File"/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.refleak.nogil/build/Lib/multiprocessing/process.py", line313, in_bootstrapself.run()~~~~~~~~^^  File"/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.refleak.nogil/build/Lib/multiprocessing/process.py", line108, inrunself._target(*self._args,**self._kwargs)~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  File"/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.refleak.nogil/build/Lib/test/_test_multiprocessing.py", line5329, inchild    join_process(p)~~~~~~~~~~~~^^^  File"/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.refleak.nogil/build/Lib/test/_test_multiprocessing.py", line105, injoin_process    threading_helper.join_thread(process)~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^  File"/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.refleak.nogil/build/Lib/test/support/threading_helper.py", line116, injoin_threadraiseAssertionError(msg)AssertionError:failed to join the thread in 30.0 secondskTraceback (most recent call last):  File"/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.refleak.nogil/build/Lib/multiprocessing/process.py", line313, in_bootstrapself.run()~~~~~~~~^^  File"/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.refleak.nogil/build/Lib/multiprocessing/process.py", line108, inrunself._target(*self._args,**self._kwargs)~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  File"/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.refleak.nogil/build/Lib/test/_test_multiprocessing.py", line1847, intaskself.f(*self.args)~~~~~~^^^^^^^^^^^^  File"/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.refleak.nogil/build/Lib/test/_test_multiprocessing.py", line1912, inmultipass    barrier.wait()~~~~~~~~~~~~^^  File"/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.refleak.nogil/build/Lib/multiprocessing/managers.py", line1108, inwaitreturnself._callmethod('wait', (timeout,))~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^  File"/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.refleak.nogil/build/Lib/multiprocessing/managers.py", line840, in_callmethodraise convert_to_error(kind, result)threading.BrokenBarrierErrorTraceback (most recent call last):  File"/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.refleak.nogil/build/Lib/multiprocessing/process.py", line313, in_bootstrapself.run()~~~~~~~~^^  File"/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.refleak.nogil/build/Lib/multiprocessing/process.py", line108, inrunself._target(*self._args,**self._kwargs)~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  File"/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.refleak.nogil/build/Lib/test/_test_multiprocessing.py", line1847, intaskself.f(*self.args)~~~~~~^^^^^^^^^^^^  File"/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.refleak.nogil/build/Lib/test/_test_multiprocessing.py", line1912, inmultipass    barrier.wait()~~~~~~~~~~~~^^  File"/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.refleak.nogil/build/Lib/multiprocessing/managers.py", line1108, inwaitreturnself._callmethod('wait', (timeout,))~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^  File"/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.refleak.nogil/build/Lib/multiprocessing/managers.py", line840, in_callmethodraise convert_to_error(kind, result)threading.BrokenBarrierErrorProcess Process-92:Process Process-90:Traceback (most recent call last):Traceback (most recent call last):  File"/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.refleak.nogil/build/Lib/multiprocessing/process.py", line313, in_bootstrapself.run()~~~~~~~~^^  File"/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.refleak.nogil/build/Lib/multiprocessing/process.py", line108, inrunself._target(*self._args,**self._kwargs)~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  File"/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.refleak.nogil/build/Lib/test/_test_multiprocessing.py", line1847, intaskself.f(*self.args)~~~~~~^^^^^^^^^^^^  File"/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.refleak.nogil/build/Lib/test/_test_multiprocessing.py", line1912, inmultipass    barrier.wait()~~~~~~~~~~~~^^  File"/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.refleak.nogil/build/Lib/multiprocessing/managers.py", line1108, inwaitreturnself._callmethod('wait', (timeout,))~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^  File"/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.refleak.nogil/build/Lib/multiprocessing/managers.py", line840, in_callmethodraise convert_to_error(kind, result)threading.BrokenBarrierError  File"/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.refleak.nogil/build/Lib/multiprocessing/process.py", line313, in_bootstrapself.run()~~~~~~~~^^  File"/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.refleak.nogil/build/Lib/multiprocessing/process.py", line108, inrunself._target(*self._args,**self._kwargs)~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  File"/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.refleak.nogil/build/Lib/test/_test_multiprocessing.py", line1847, intaskself.f(*self.args)~~~~~~^^^^^^^^^^^^  File"/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.refleak.nogil/build/Lib/test/_test_multiprocessing.py", line1912, inmultipass    barrier.wait()~~~~~~~~~~~~^^  File"/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.refleak.nogil/build/Lib/multiprocessing/managers.py", line1108, inwaitreturnself._callmethod('wait', (timeout,))~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^  File"/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.refleak.nogil/build/Lib/multiprocessing/managers.py", line840, in_callmethodraise convert_to_error(kind, result)threading.BrokenBarrierErrorERRORTraceback (most recent call last):  File"/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.refleak.nogil/build/Lib/test/_test_multiprocessing.py", line5176, intest_wait_integerself.assertLess(delta, expected+2)~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^AssertionError:5.0250674188137054 not less than 5Traceback (most recent call last):  File"/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.refleak.nogil/build/Lib/test/test_eintr.py", line17, intest_all    script_helper.run_test_script(script)~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^  File"/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.refleak.nogil/build/Lib/test/support/script_helper.py", line316, inrun_test_scriptraiseAssertionError(f"{name} failed")AssertionError:script _test_eintr.py failedTraceback (most recent call last):  File"/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.refleak.nogil/build/Lib/test/_test_multiprocessing.py", line1927, intest_barrierself.run_threads(self.multipass, (self.barrier, results, passes))~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  File"/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.refleak.nogil/build/Lib/test/_test_multiprocessing.py", line1900, inrun_threads    f(*args)~^^^^^^^  File"/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.refleak.nogil/build/Lib/test/_test_multiprocessing.py", line1912, inmultipass    barrier.wait()~~~~~~~~~~~~^^  File"/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.refleak.nogil/build/Lib/multiprocessing/managers.py", line1108, inwaitreturnself._callmethod('wait', (timeout,))~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^  File"/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.refleak.nogil/build/Lib/multiprocessing/managers.py", line840, in_callmethodraise convert_to_error(kind, result)threading.BrokenBarrierErrorTraceback (most recent call last):  File"/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.refleak.nogil/build/Lib/test/test_concurrent_futures/executor.py", line71, intest_map_timeoutself.assertEqual([None,None], results)~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^AssertionError:Lists differ: [None, None] != []Traceback (most recent call last):  File"/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.refleak.nogil/build/Lib/test/_test_eintr.py", line532, intest_lockfself._lock(fcntl.lockf,"lockf")~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^  File"/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.refleak.nogil/build/Lib/test/_test_eintr.py", line517, in_lockraiseException("failed to sync child in%.1f sec"% dt)Exception:failed to sync child in 300.4 secTraceback (most recent call last):  File"/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.refleak.nogil/build/Lib/test/_test_multiprocessing.py", line5169, intest_wait_integerself.assertTrue(sem.acquire(timeout=20))~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^AssertionError:False is not trueTraceback (most recent call last):  File"/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.refleak.nogil/build/Lib/multiprocessing/process.py", line313, in_bootstrapself.run()~~~~~~~~^^  File"/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.refleak.nogil/build/Lib/multiprocessing/process.py", line108, inrunself._target(*self._args,**self._kwargs)~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  File"/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.refleak.nogil/build/Lib/test/_test_multiprocessing.py", line5329, inchild    join_process(p)~~~~~~~~~~~~^^^  File"/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.refleak.nogil/build/Lib/test/_test_multiprocessing.py", line105, injoin_process    threading_helper.join_thread(process)~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^  File"/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.refleak.nogil/build/Lib/test/support/threading_helper.py", line116, injoin_threadraiseAssertionError(msg)AssertionError:failed to join the thread in 30.0 secondsProcess Process-236:1:Traceback (most recent call last):  File"/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.refleak.nogil/build/Lib/multiprocessing/process.py", line313, in_bootstrapself.run()~~~~~~~~^^  File"/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.refleak.nogil/build/Lib/multiprocessing/process.py", line108, inrunself._target(*self._args,**self._kwargs)~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  File"/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.refleak.nogil/build/Lib/test/_test_multiprocessing.py", line5329, inchild    join_process(p)~~~~~~~~~~~~^^^  File"/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.refleak.nogil/build/Lib/test/_test_multiprocessing.py", line105, injoin_process    threading_helper.join_thread(process)~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^  File"/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.refleak.nogil/build/Lib/test/support/threading_helper.py", line116, injoin_threadraiseAssertionError(msg)AssertionError:failed to join the thread in 30.0 secondskTraceback (most recent call last):  File"/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.refleak.nogil/build/Lib/multiprocessing/process.py", line313, in_bootstrapself.run()~~~~~~~~^^  File"/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.refleak.nogil/build/Lib/multiprocessing/process.py", line108, inrunself._target(*self._args,**self._kwargs)~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  File"/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.refleak.nogil/build/Lib/test/_test_multiprocessing.py", line5329, inchild    join_process(p)~~~~~~~~~~~~^^^  File"/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.refleak.nogil/build/Lib/test/_test_multiprocessing.py", line105, injoin_process    threading_helper.join_thread(process)~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^  File"/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.refleak.nogil/build/Lib/test/support/threading_helper.py", line116, injoin_threadraiseAssertionError(msg)AssertionError:failed to join the thread in 30.0 secondsProcess Process-392:1:Traceback (most recent call last):  File"/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.refleak.nogil/build/Lib/multiprocessing/process.py", line313, in_bootstrapself.run()~~~~~~~~^^  File"/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.refleak.nogil/build/Lib/multiprocessing/process.py", line108, inrunself._target(*self._args,**self._kwargs)~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  File"/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.refleak.nogil/build/Lib/test/_test_multiprocessing.py", line5329, inchild    join_process(p)~~~~~~~~~~~~^^^  File"/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.refleak.nogil/build/Lib/test/_test_multiprocessing.py", line105, injoin_process    threading_helper.join_thread(process)~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^  File"/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.refleak.nogil/build/Lib/test/support/threading_helper.py", line116, injoin_threadraiseAssertionError(msg)AssertionError:failed to join the thread in 30.0 secondsProcess Process-392:1:1:Traceback (most recent call last):  File"/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.refleak.nogil/build/Lib/multiprocessing/process.py", line313, in_bootstrapself.run()~~~~~~~~^^  File"/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.refleak.nogil/build/Lib/multiprocessing/process.py", line108, inrunself._target(*self._args,**self._kwargs)~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  File"/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.refleak.nogil/build/Lib/test/_test_multiprocessing.py", line5329, inchild    join_process(p)~~~~~~~~~~~~^^^  File"/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.refleak.nogil/build/Lib/test/_test_multiprocessing.py", line105, injoin_process    threading_helper.join_thread(process)~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^  File"/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.refleak.nogil/build/Lib/test/support/threading_helper.py", line116, injoin_threadraiseAssertionError(msg)AssertionError:failed to join the thread in 30.0 secondsk

estyxx pushed a commit to estyxx/cpython that referenced this pull requestJul 17, 2024
…rning (pythonGH-117668)* Fix `test_strptime` raises a DeprecationWarning* Ignore deprecation warnings where appropriate.* Update Lib/test/datetimetester.pyThis is follow on work to silence unnecessary warnings from the test suite that changes forpython#70647 added.
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@gpsheadgpsheadgpshead approved these changes

@Eclips4Eclips4Eclips4 approved these changes

@pgansslepganssleAwaiting requested review from pgansslepganssle is a code owner

@abalkinabalkinAwaiting requested review from abalkinabalkin is a code owner

Assignees
No one assigned
Labels
skip newstestsTests in the Lib/test dir
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

5 participants
@nineteendo@erlend-aasland@gpshead@bedevere-bot@Eclips4

[8]ページ先頭

©2009-2025 Movatter.jp