[New-bugs-announce] [issue10825] use assertIsNone(...) instead of assertEquals(None, ...)

Sandro Tosi report at bugs.python.org
Tue Jan 4 14:49:04 CET 2011


New submission from Sandro Tosi <sandro.tosi at gmail.com>:

Hello, after I saw that in issue9554, I created a small patch to replace all

  assertEquals(None, ...)

with

  assertIsNone(...)

It's not rocket science, but I think it makes test suite "better" and leverage new unittest features.

Cheers,
Sandro

----------
assignee: sandro.tosi
components: Tests
files: use_assertIsNone-py3k.patch
keywords: patch
messages: 125317
nosy: sandro.tosi
priority: normal
severity: normal
stage: patch review
status: open
title: use assertIsNone(...) instead of assertEquals(None, ...)
versions: Python 3.3
Added file: http://bugs.python.org/file20256/use_assertIsNone-py3k.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10825>
_______________________________________


More information about the New-bugs-announce mailing list