From 3d4ee3b86228c4a4e26fea8d1ca2fbbb5241aade Mon Sep 17 00:00:00 2001 From: Rhea Parekh Date: Sun, 24 Dec 2017 00:41:50 +0530 Subject: [PATCH] zerver/tests/test_email_mirror: Sweep force_str. --- zerver/tests/test_email_mirror.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/zerver/tests/test_email_mirror.py b/zerver/tests/test_email_mirror.py index d1f90dcedf..01cad46374 100644 --- a/zerver/tests/test_email_mirror.py +++ b/zerver/tests/test_email_mirror.py @@ -55,7 +55,6 @@ import sys from io import StringIO from django.conf import settings -from zerver.lib.str_utils import force_str from typing import Any, Callable, Dict, Mapping, Union, Text class TestEmailMirrorLibrary(ZulipTestCase): @@ -471,7 +470,7 @@ class TestScriptMTA(ZulipTestCase): os.write(write_pipe, mail.encode()) os.close(write_pipe) subprocess.check_call( - [script, '-r', force_str(stream_to_address), '-s', settings.SHARED_SECRET, '-t'], + [script, '-r', stream_to_address, '-s', settings.SHARED_SECRET, '-t'], stdin=read_pipe) def test_error_no_recipient(self) -> None: