Skip to content

Commit 591fb22

Browse files
authored
Merge pull request #238 from Carreau/write-II
Second try at #233
2 parents 50e3813 + 1d934fc commit 591fb22

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/python-package.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ jobs:
2626
- name: Install dependencies
2727
run: |
2828
python -m pip install --upgrade pip check-manifest
29-
pip install pytest
29+
pip install pytest pytest-cov
3030
pip install .
3131
python -m ipykernel.kernelspec --user
3232
- name: Test with pytest
3333
run: |
34-
pytest
34+
pytest --cov jupyter_console
3535
- name: Check Manifest
3636
run: |
3737
check-manifest

jupyter_console/ptshell.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -748,7 +748,7 @@ def handle_execute_reply(self, msg_id, timeout=None):
748748
status = content['status']
749749

750750
if status == "aborted":
751-
self.shell.write("Aborted\n")
751+
sys.stdout.write("Aborted\n")
752752
return
753753
elif status == 'ok':
754754
# handle payloads

0 commit comments

Comments
 (0)