File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ def test_debug(capsys):
7272def 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):
104104def 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):
124124def 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
You can’t perform that action at this time.
0 commit comments