Skip to content

Commit 30e1f37

Browse files
committed
ci: fixes errors
1 parent 51d3dfa commit 30e1f37

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test_utils.py

Lines changed: 2 additions & 2 deletions
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 not captured.out is '':
75+
if captured.out is not '':
7676
raise AssertionError()
7777

7878

@@ -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 not context is 'context':
127+
if context is not 'context':
128128
raise AssertionError()
129129

130130

0 commit comments

Comments
 (0)