gh-100414: Skip test_dbm_sqlite3 if sqlite3 is unavailable by erlend-aasland · Pull Request #115449 · python/cpython
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See my comments in #115448 (comment). This feels slightly more fragile to me, in that whether or not the test passes depends on the order the imports are in, which isn't necessarily obvious to the reader of the test. But either is probably fine; no strong preference :)
This feels slightly more fragile to me, in that whether or not the test passes depends on the order the imports are in, which isn't necessarily obvious to the reader of the test.
You could maybe add a comment noting that the imports need to be in precisely that order
You could maybe add a comment noting that the imports need to be in precisely that order
Yes, that seems fair to the future reader.
fsc-eriker pushed a commit to fsc-eriker/cpython that referenced this pull request
…hon#115449) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>