You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Lib/test/test_sqlite3/test_userfunctions.py defines to methods called test_func_return_too_large_int() in the same class, so the first one is never called.
Activity
erlend-aasland commentedon Jun 9, 2023
Oh, that's unfortunate. Thanks for the report, Victor!
vstinner commentedon Jun 9, 2023
What's unfortunate is that unittest has no metaclass using a prepare method with a custom dict type which detects such bug.
pythongh-105557: Remove duplicate sqlite3 test method
erlend-aasland commentedon Jun 9, 2023
+1
That would be a useful feature.
vstinner commentedon Jun 9, 2023
Prototype to detect such bug:
Output:
vstinner commentedon Jun 9, 2023
I created issue #105560 to track this idea.
gh-105557: Remove duplicate sqlite3 test method (#105558)
pythongh-105557: Remove duplicate sqlite3 test method (pythonGH-105558)
pythongh-105557: Remove duplicate sqlite3 test method (pythonGH-105558)
[3.11] gh-105557: Remove duplicate sqlite3 test method (GH-105558) (#…
[3.12] gh-105557: Remove duplicate sqlite3 test method (GH-105558) (#…