-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
Make sure all sqlite3 doc examples work #95432
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
- the insert statement should have five placeholders, not four - missing ... in the multiline row list
- the insert statement should have five placeholders, not four - missing ... in the multiline row list (cherry picked from commit 2fbee85) Co-authored-by: Erlend Egeberg Aasland <[email protected]>
- the insert statement should have five placeholders, not four - missing ... in the multiline row list (cherry picked from commit 2fbee85) Co-authored-by: Erlend Egeberg Aasland <[email protected]>
- the insert statement should have five placeholders, not four - missing ... in the multiline row list (cherry picked from commit 2fbee85) Co-authored-by: Erlend Egeberg Aasland <[email protected]>
- the insert statement should have five placeholders, not four - missing ... in the multiline row list (cherry picked from commit 2fbee85) Co-authored-by: Erlend Egeberg Aasland <[email protected]>
PR for the tutorial is up. I'll create a new PR for the rest later. @CAM-Gerlach, @hugovk: does Sphinx support doctesting included files? |
I actually know fairly little about docttests since I don't use them much myself (I primarily maintain docs for the Spyder-family GUI projects, where doctests aren't really relevant or practical), and most of what I know on Sphinx's support for them comes from reading the Sphinx documentation, which doesn't seem to mention this. |
(cherry picked from commit 04c73e5) Co-authored-by: Erlend E. Aasland <[email protected]>
(cherry picked from commit 04c73e5) Co-authored-by: Erlend E. Aasland <[email protected]>
(cherry picked from commit 04c73e5) Co-authored-by: Erlend E. Aasland <[email protected]>
(cherry picked from commit 04c73e5) Co-authored-by: Erlend E. Aasland <[email protected]>
As a consequence of the added test, this commit also includes fixes for broken examples.
The literal includes are not tested. This is unfortunate. For sqlite3, I suggest inlining them; most of the snippets are very short. We can exploit this opportunity to make them even more succinct. |
As a consequence of the added test, this commit also includes fixes for broken examples. - Add separate namespace for trace tests bco. module level callback - Move more backup and cursor examples under separate namespaces
As a consequence of the added test, this commit also includes fixes for broken examples. - Add separate namespace for trace tests bco. module level callback - Move more backup and cursor examples under separate namespaces (cherry picked from commit bf92597) Co-authored-by: Erlend E. Aasland <[email protected]>
) As a consequence of the added test, this commit also includes fixes for broken examples. - Add separate namespace for trace tests bco. module level callback - Move more backup and cursor examples under separate namespaces. (cherry picked from commit bf92597) Co-authored-by: Erlend E. Aasland <[email protected]>
As a consequence of the added test, this commit also includes fixes for broken examples. - Add separate namespace for trace tests bco. module level callback - Move more backup and cursor examples under separate namespaces (cherry picked from commit bf92597) Co-authored-by: Erlend E. Aasland <[email protected]>
As a consequence of the added test, this commit also includes fixes for broken examples. - Add separate namespace for trace tests bco. module level callback - Move more backup and cursor examples under separate namespaces. (cherry picked from commit bf92597) Co-authored-by: Erlend E. Aasland <[email protected]>
Use Sphinx doctest features to ensure that all examples in the sqlite3 docs work as expected.
See also: https://diataxis.fr/tutorials/#ensure-that-the-tutorial-works-reliably
The text was updated successfully, but these errors were encountered: