We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51d3dfa commit 30e1f37Copy full SHA for 30e1f37
test/test_utils.py
@@ -72,7 +72,7 @@ def test_debug(capsys):
72
def test_no_debug(capsys):
73
text_utils.debug('msg', 666, show=False)
74
captured = capsys.readouterr()
75
- if not captured.out is '':
+ if captured.out is not '':
76
raise AssertionError()
77
78
@@ -124,7 +124,7 @@ def mock_input(s):
124
def test_handle_context_arg_with_args():
125
context = text_utils.handle_context_arg('context')
126
127
- if not context is 'context':
+ if context is not 'context':
128
129
130
0 commit comments