Skip to content

Commit 9f2922d

Browse files
committed
Fix pointless comparison (B015).
1 parent db216f4 commit 9f2922d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

distutils/tests/test_core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def test_debug_mode(self, capsys, monkeypatch):
123123
# this covers the code called when DEBUG is set
124124
sys.argv = ['setup.py', '--name']
125125
distutils.core.setup(name='bar')
126-
capsys.readouterr().out == 'bar\n'
126+
assert capsys.readouterr().out == 'bar\n'
127127
monkeypatch.setattr(distutils.core, 'DEBUG', True)
128128
distutils.core.setup(name='bar')
129129
wanted = "options (after parsing config files):\n"

0 commit comments

Comments
 (0)