Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-announce@python.org Delivered-To: python-announce-list@mail.python.org X-Spam-Status: OK 0.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:ANN': 0.02; 'subject:released': 0.03; 'python.': 0.04; 'pypi': 0.04; 'url:pypi': 0.08; 'comparisons': 0.09; 'foord': 0.09; 'received:eu': 0.09; 'library': 0.13; 'bugfixes.': 0.16; 'changelog': 0.16; 'from:addr:fuzzyman': 0.16; 'iterator': 0.16; 'released.': 0.16; 'repr': 0.16; 'url:changelog': 0.16; 'url:voidspace': 0.16; 'examples': 0.16; 'blog:': 0.21; 'skip:` 20': 0.23; 'changes,': 0.24; 'testing': 0.26; 'objects.': 0.30; 'changes': 0.30; 'michael': 0.31; 'version': 0.32; 'objects': 0.32; "isn't": 0.33; 'header:User-Agent:1': 0.33; 'test': 0.34; 'header:X-Complaints-To:1': 0.34; 'header:Received:8': 0.34; 'url:python': 0.35; 'install': 0.35; 'received:209.85.214': 0.36; 'page': 0.37; 'received:google.com': 0.37; 'received:209.85': 0.38; 'replace': 0.38; 'allows': 0.38; 'couple': 0.38; 'url:org': 0.39; 'are:': 0.39; 'received:209': 0.39; 'received:prod.google.com': 0.40; 'release': 0.40; 'received:10.192': 0.40; 'url:uk': 0.40; 'more': 0.61; 'six': 0.61; 'your': 0.61; 'full': 0.62; 'to:addr:moderators.isc.org': 0.73; '0.8': 0.84; 'mock': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=x-authentication-warning:to:path:from:newsgroups:subject:date :organization:lines:message-id:nntp-posting-host:mime-version :content-type:x-trace:x-complaints-to:nntp-posting-date :complaints-to:injection-info:user-agent:x-google-web-client :x-google-header-order:x-http-useragent; bh=A2CJdHIVtkEGHKGGkK+Cm46DywXlkSOVQ1PK9U67a6w=; b=QJeUhA2DZctov1qAsHhKPqmTHWca5H0vKOeDo6wW/WGSakLawfruzLruAE1x2//2VV l1xPtIeDWcM+jaF3fcHRm01r0hKXg3w7c6XNQToIWsW9OwYh5DBqRfNpX5kD6ctD7DZs Dqr52WCv5WD/Dc3GYXnahPJzKBl6Kn6ZifULw= X-Authentication-Warning: yws13.prod.google.com: news set sender to news@google.com using -f To: comp-lang-python-announce@moderators.isc.org From: Fuzzyman Newsgroups: comp.lang.python.announce Subject: ANN: mock 0.8 final released Date: Thu, 16 Feb 2012 07:35:02 -0800 (PST) Organization: http://groups.google.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Complaints-To: groups-abuse@google.com Injection-Info: i2g2000vbv.googlegroups.com; posting-host=87.194.212.65; posting-account=rJGH6woAAAA8aYshsH3bwEcz-guIOP6p User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: HUARLECNK X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/534.53.11 (KHTML, like Gecko) Version/5.1.3 Safari/534.53.10, gzip(gfe) X-Gm-Message-State: ALoCoQn36Ylfmi6j4+vhD1gbZuFKGY2GYnNpjv1ADCoHwb8jFiPs6Sa0z6/jF6KaakxaOCKh3u0oJYT3hF//IjaYK6JtX5dUBUJdw1yC9LUZohiV1qWmcYdvNGfcpf+USRDbztJj4NpmQSwUtveT6eeI3gkb2MEGtMta20QPSJBgGOUdJ8ZSB2w= X-Mailman-Approved-At: Thu, 16 Feb 2012 19:30:36 +0100 X-BeenThere: python-announce-list@python.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: python-list@python.org List-Id: Announcement-only list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Approved: python-announce-list@python.org Message-ID: Lines: 30 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1329417037 news.xs4all.nl 6872 [2001:888:2000:d::a6]:46346 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python.announce:516 After more than six months development work mock 0.8 has been released. 0.8 is a big release with many new features, general improvements and bugfixes. You can download mock 0.8.0 final from the PyPI page or install it with: pip install -U mock mock is a library for testing in Python. It allows you to replace parts of your system under test with mock objects. http://pypi.python.org/pypi/mock http://www.voidspace.org.uk/python/mock/ http://www.voidspace.org.uk/python/mock/changelog.html#version-0-8-0 The only changes in mock 0.8.0 final since 0.8rc2 are: * Improved repr of `sentinel` objects * `ANY` can be used for comparisons against call objects * The return value of `MagicMock.__iter__` can be set to any iterable and isn't required to be an iterator A longer version of this announcement, including the full changelog since mock 0.7 and a couple of short examples of the most important changes, can be found on my blog: http://www.voidspace.org.uk/python/weblog/arch_d7_2012_02_11.shtml#e1234 Michael Foord