GitHub user ktdreyer opened a pull request:
https://github.com/apache/libcloud/pull/1264
tests: use assertIsNone()
### Description
Python 2.7 introduced `assertIsNone()`. Change all our `assertEqual(value,
None)` statements to `assertIsNone(value)`.
### Status
- done, ready for review
### Checklist (tick everything that applies)
- [ ] [Code
linting](http://libcloud.readthedocs.org/en/latest/development.html#code-style-guide)
(required, can be done after the PR checks)
- [ ] Documentation
- [ ] [Tests](http://libcloud.readthedocs.org/en/latest/testing.html)
- [ ]
[ICLA](http://libcloud.readthedocs.org/en/latest/development.html#contributing-bigger-changes)
(required for bigger changes)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ktdreyer/libcloud assert-is-none
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/libcloud/pull/1264.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1264
----
commit a853cc44320d235032d238fa1f6a9aedcc989df1
Author: Ken Dreyer <kdreyer@...>
Date: 2018-11-29T22:31:26Z
tests: use assertIsNone
Python 2.7 introduced assertIsNone(). Change all our
"assertEqual(value, None)" statements to "assertIsNone(value)".
----
---