File tree 1 file changed +3
-3
lines changed
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):
72
72
def test_no_debug (capsys ):
73
73
text_utils .debug ('msg' , 666 , show = False )
74
74
captured = capsys .readouterr ()
75
- if captured .out is not '' :
75
+ if captured .out != '' :
76
76
raise AssertionError ()
77
77
78
78
@@ -104,7 +104,7 @@ def test_notify(capsys):
104
104
def test_handle_tag_message_args_with_args ():
105
105
tag , msg = text_utils .handle_tag_message_args ('tag' , 'msg' )
106
106
107
- if not (tag is 'tag' and msg is 'msg' ):
107
+ if not (tag == 'tag' and msg == 'msg' ):
108
108
raise AssertionError ()
109
109
110
110
@@ -124,7 +124,7 @@ def mock_input(s):
124
124
def test_handle_context_arg_with_args ():
125
125
context = text_utils .handle_context_arg ('context' )
126
126
127
- if context is not 'context' :
127
+ if context != 'context' :
128
128
raise AssertionError ()
129
129
130
130
You can’t perform that action at this time.
0 commit comments