Skip to content

Commit

Permalink
fix: Fixed a windows bug with the readline module (#189)
Browse files Browse the repository at this point in the history
  • Loading branch information
15r10nk committed Feb 4, 2025
1 parent 13b9e50 commit 2333fba
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 3 additions & 0 deletions changelog.d/20250204_075508_15r10nk-git.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
### Fixed

- Fixed a windows bug with the readline module (#189)
6 changes: 5 additions & 1 deletion src/inline_snapshot/pytest_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,11 @@

if sys.version_info >= (3, 13):
# fixes #186
import readline # noqa
try:
import readline # noqa
except ModuleNotFoundError:
# should fix #189
pass


def pytest_addoption(parser, pluginmanager):
Expand Down

0 comments on commit 2333fba

Please sign in to comment.