Skip to content

Commit

Permalink
Fix readline mocking on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
George V. Kouryachy (Fr. Br. George) committed Oct 23, 2023
1 parent 87cecd4 commit 30ab4dd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hworker/control/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@
try:
import readline
except ModuleNotFoundError:
from unittest.mock import MagicMock as readline
from unittest.mock import MagicMock

readline = MagicMock()

try:
from .._version import version
Expand Down

0 comments on commit 30ab4dd

Please sign in to comment.