Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix pypy tests

  • Loading branch information...
commit 2e18542bc1a6fe1e45ce7401c68ddf2ccae18658 1 parent cc1c8c9
@domenkozar authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  mrbob/tests/test_hooks.py
View
2  mrbob/tests/test_hooks.py
@@ -39,7 +39,7 @@ def test_hook_msg_formatting(self, mock_stdout):
c = DummyConfigurator(variables={'foo': 'bar'},
templateconfig={'message': 'Hello %(foo)s!'})
self.call_FUT(c)
- self.assertEquals(mock_stdout.mock_calls, [mock.call.write('Hello bar!'), mock.call.write('\n')])
+ mock_stdout.write.assert_any_call('Hello bar!')
@mock.patch('sys.stdout')
def test_hook_quiet(self, mock_stdout):
Please sign in to comment.
Something went wrong with that request. Please try again.