Skip to content

Commit

Permalink
fix: flaky ci unit tests (#1122)
Browse files Browse the repository at this point in the history
Modification to std in/out causes strange behavior from pytest side.
  • Loading branch information
jiashenC committed Sep 14, 2023
1 parent 18cb68c commit 08b7e4c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions test/unit_tests/server/test_interpreter.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,6 @@ async def test_exception_in_start_cmd_client(self, mock_open):
@macos_skip_marker
@patch("asyncio.events.AbstractEventLoop.connect_read_pipe")
async def test_create_stdin_reader(self, mock_read_pipe):
sys.stdin = MagicMock()

try:
stdin_reader = await create_stdin_reader()
self.assertNotEqual(stdin_reader, None)
Expand Down

0 comments on commit 08b7e4c

Please sign in to comment.