From b04e870828e81f0f519ad31eae43d1eb0091d692 Mon Sep 17 00:00:00 2001 From: Gustavo Niemeyer Date: Wed, 5 Dec 2007 20:49:55 -0200 Subject: New MATCH() argument matcher, which allows using a function to match an argument generically. E.g. MATCH(lambda x: x > 10) --- NEWS | 3 +++ 1 file changed, 3 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 78ffccf..10cb855 100644 --- a/NEWS +++ b/NEWS @@ -8,6 +8,9 @@ - MockerTestCase now verifies if the mocker is put in replay mode in cases where events were recorded. +- New MATCH() argument matcher, which allows using a function + to match an argument generically. E.g. MATCH(lambda x: x > 10) + - Now when a spec is provided (or with proxy/replace/patch) the existence of the real method is checked even if the mocked method doesn't have to execute (e.g. due to count(0)). -- cgit v1.2.1