Skip to content

Closes #4256: add doctest to history module - #4478

Merged
ajpotts merged 1 commit into
Bears-R-Us:masterfrom
ajpotts:4256_add_doctest_to_history_module
Jul 23, 2025
Merged

ajpotts merged 1 commit into
Bears-R-Us:masterfrom
ajpotts:4256_add_doctest_to_history_module

Conversation

@ajpotts

@ajpotts ajpotts commented Jun 2, 2025

Copy link
Copy Markdown
Contributor

Adds doctest unit tests for the history module.

Closes #4256: add doctest to history module

@ajpotts
ajpotts force-pushed the 4256_add_doctest_to_history_module branch 3 times, most recently from 957f40e to 2bf83d2 Compare June 2, 2025 20:29
@ajpotts
ajpotts marked this pull request as ready for review June 2, 2025 20:35

@1RyanK 1RyanK left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@ajpotts
ajpotts force-pushed the 4256_add_doctest_to_history_module branch from 2bf83d2 to 4913143 Compare June 3, 2025 15:41
@ajpotts
ajpotts force-pushed the 4256_add_doctest_to_history_module branch from 4913143 to 9f9e671 Compare June 22, 2025 15:59
@ajpotts ajpotts added the blocking This is blocking a developer from completing a task they are actively working. label Jun 22, 2025
@ajpotts
ajpotts force-pushed the 4256_add_doctest_to_history_module branch 2 times, most recently from 5643fca to 8290958 Compare June 24, 2025 18:19
@ajpotts
ajpotts force-pushed the 4256_add_doctest_to_history_module branch from 8290958 to c1e9805 Compare June 24, 2025 20:27
@ajpotts ajpotts removed the blocking This is blocking a developer from completing a task they are actively working. label Jul 8, 2025

@drculhane drculhane left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one puzzles me a bit. I was able to reproduce the NotebookHistoryRetriever examples in ipython. I could not get anything from ShellHistoryRetriever in a python shell. It just gave me an empty response. I note that the tests are skipped, which I assume is because the CI won't run them from the right shell/container/environment.

@ajpotts
ajpotts added this pull request to the merge queue Jul 23, 2025
Merged via the queue into Bears-R-Us:master with commit b80da4b Jul 23, 2025
ajpotts added a commit that referenced this pull request Jul 25, 2025
Adds `doctest` unit tests for the `history` module.

Closes #4256:  add doctest to history module

Co-authored-by: ajpotts <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

add doctest to history module

3 participants