Skip to content

Commit

Permalink
unitest assertEquals to assertEqual (#4345)
Browse files Browse the repository at this point in the history
* Fix issue #4334

* Update contributors files

* Alphabetical ordering

---------

Co-authored-by: Peter Cock <p.j.a.cock@googlemail.com>
  • Loading branch information
sagitter and peterjc committed Jul 1, 2023
1 parent feb96ce commit 61417d0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CONTRIB.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ please open an issue on GitHub or mention it on the mailing list.
- Antonio Jesús Gálvez Muñoz <https://github.com/PyCreatine>
- Anthony Bradley <https://github.com/abradle>
- Antony Lee <https://github.com/anntzer>
- Antonio Trande <https://github.com/sagitter>
- Anuj Sharma <https://github.com/xulesc>
- Ariel Aptekmann <https://github.com/aralap>
- Arpan Sahoo <https://github.com/arpansahoo>
Expand Down
1 change: 1 addition & 0 deletions NEWS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ to the test suite.
Many thanks to the Biopython developers and community for making this release
possible, especially the following contributors:

- Antonio Trande (first contribution)
- Arpan Sahoo (first contribution)
- Benedict Carling (first contribution)
- Cam McMenamie (first contribution)
Expand Down
2 changes: 1 addition & 1 deletion Tests/test_Entrez.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def check_request_ids(testcase, params, expected):
:type params: dict
:param expected: Expected set of IDs, as colleciton of strings.
"""
testcase.assertEquals(len(params["id"]), 1)
testcase.assertEqual(len(params["id"]), 1)
ids_str = params["id"][0]
# Compare up to ordering
testcase.assertCountEqual(ids_str.split(","), expected)
Expand Down

0 comments on commit 61417d0

Please sign in to comment.