Skip to content

Commit 0c3c4b5

Browse files
committed
utd
1 parent 8d2e586 commit 0c3c4b5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/test_utils.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def test_debug(capsys):
7272
def test_no_debug(capsys):
7373
text_utils.debug('msg', 666, show=False)
7474
captured = capsys.readouterr()
75-
if captured.out is not '':
75+
if captured.out != '':
7676
raise AssertionError()
7777

7878

@@ -104,7 +104,7 @@ def test_notify(capsys):
104104
def test_handle_tag_message_args_with_args():
105105
tag, msg = text_utils.handle_tag_message_args('tag', 'msg')
106106

107-
if not (tag is 'tag' and msg is 'msg'):
107+
if not (tag =='tag' and msg =='msg'):
108108
raise AssertionError()
109109

110110

@@ -124,7 +124,7 @@ def mock_input(s):
124124
def test_handle_context_arg_with_args():
125125
context = text_utils.handle_context_arg('context')
126126

127-
if context is not 'context':
127+
if context != 'context':
128128
raise AssertionError()
129129

130130

0 commit comments

Comments
 (0)