bpo-10572: Move sqlite3 tests to Lib/test#29304
Conversation
deleted Lib/sqlite3/test/__init__.py renamed /test/test_sqlite.py -> Lib/test/test_sqlite3/__init__.py renamed /sqlite3/test/test_backup.py -> Lib/test/test_sqlite3/test_backup.py renamed /sqlite3/test/test_dbapi.py -> Lib/test/test_sqlite3/test_dbapi.py renamed /sqlite3/test/test_dump.py -> Lib/test/test_sqlite3/test_dump.py renamed /sqlite3/test/test_factory.py -> Lib/test/test_sqlite3/test_factory.py renamed /sqlite3/test/test_hooks.py -> Lib/test/test_sqlite3/test_hooks.py renamed /sqlite3/test/test_regression.py -> Lib/test/test_sqlite3/test_regression.py renamed /sqlite3/test/test_transactions.py -> Lib/test/test_sqlite3/test_transactions.py renamed /sqlite3/test/test_types.py -> Lib/test/test_sqlite3/test_types.py renamed /sqlite3/test/test_userfunctions.py -> Lib/test/test_sqlite3/test_userfunctions.py
|
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
Sorry, something went wrong.
Co-authored-by: Brett Cannon <brett@python.org>
This reverts commit 35f6334 and adds a comment on why it was needed
|
I believe I have made the requested changes; please review again. |
Sorry, something went wrong.
|
Thanks for making the requested changes! @brettcannon: please review the changes made to this pull request. |
Sorry, something went wrong.
|
It all LGTM, I just want to double-check the tests still run, so I'm waiting on CI to finish at least one of the test runs. 😄 |
Sorry, something went wrong.
|
@erlend-aasland: Status check is done, and it's a failure ❌ . |
Sorry, something went wrong.
|
@erlend-aasland: Status check is done, and it's a success ✅ . |
Sorry, something went wrong.
|
Thanks, Brett! |
Sorry, something went wrong.
⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️Hi! The buildbot AMD64 Windows10 Pro 3.x has failed when building commit 62bf263. What do you need to do:
You can take a look at the buildbot page here: https://buildbot.python.org/all/#builders/596/builds/1321 Failed tests:
Failed subtests:
Summary of the results of the build (if available): == Tests result: FAILURE then SUCCESS == 395 tests OK. 10 slowest tests:
34 tests skipped: 2 re-run tests: 1 test run no tests: Total duration: 15 min 30 sec Click to see traceback logsTraceback (most recent call last):
File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\support\os_helper.py", line 396, in temp_dir
yield path
^^^^^^^^^^
File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\support\os_helper.py", line 449, in temp_cwd
yield cwd_dir
^^^^^^^^^^^^^
File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\libregrtest\main.py", line 658, in main
self._main(tests, kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\libregrtest\main.py", line 731, in _main
sys.exit(0)
^^^^^^^^^^^
SystemExit: 0
Traceback (most recent call last):
File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\support\__init__.py", line 197, in _force_run
return func(*args)
^^^^^^^^^^^
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\\buildbot.python.org\\3.x.kloth-win64\\build\\build\\test_python_8352�\\test_python_worker_7008�'
Traceback (most recent call last):
File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\__main__.py", line 2, in <module>
main()
^^^^^^
File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\libregrtest\main.py", line 736, in main
Regrtest().main(tests=tests, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\libregrtest\main.py", line 652, in main
with os_helper.temp_cwd(test_cwd, quiet=True):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\contextlib.py", line 155, in __exit__
self.gen.throw(typ, value, traceback)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\support\os_helper.py", line 447, in temp_cwd
with temp_dir(path=name, quiet=quiet) as temp_path:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\contextlib.py", line 155, in __exit__
self.gen.throw(typ, value, traceback)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\support\os_helper.py", line 401, in temp_dir
rmtree(path)
^^^^^^^^^^^^
File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\support\os_helper.py", line 358, in rmtree
Traceback (most recent call last):
File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\test_os.py", line 1428, in test_walk_bad_dir
os.rename(path1, path1new)
^^^^^^^^^^^^^^^^^^^^^^^^^^
PermissionError: [WinError 5] Access is denied: '@test_12176_tmp�\\TEST1\\SUB1' -> '@test_12176_tmp�\\TEST1\\SUB1.new'
|
Sorry, something went wrong.
|
We should consider mentioning this change in the 3.11 What's New document. Re #94998. |
Sorry, something went wrong.
https://bugs.python.org/issue10572
Automerge-Triggered-By: GH:brettcannon