Serhiy Storchaka added the comment:

Possible solution is to use special sentinel instead of None.

----------
keywords: +patch
nosy: +ezio.melotti, michael.foord, rbcollins, serhiy.storchaka
stage:  -> patch review
versions: +Python 3.4, Python 3.5
Added file: http://bugs.python.org/file39305/assert_raises_sentinel.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue24134>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to