Skip to content

Commit

Permalink
Merge pull request #519 from DLu/fix_citation_by_year_test
Browse files Browse the repository at this point in the history
Update citations by year data
  • Loading branch information
arunkannawadi authored Nov 5, 2023
2 parents 91d1235 + 7a4da4b commit c6b579d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ def test_cites_per_year(self):
"""
author = scholarly.search_author_id('DW_bVcEAAAAJ')
scholarly.fill(author, sections=['counts'])
cpy = {2014: 1, 2015: 2, 2016: 2, 2017: 0, 2018: 2, 2019: 1, 2020: 12, 2021: 21, 2022: 35}
cpy = {2014: 1, 2015: 2, 2016: 2, 2017: 0, 2018: 2, 2019: 0, 2020: 11, 2021: 21, 2022: 37}
for year, count in cpy.items():
self.assertEqual(author['cites_per_year'][year], count)

Expand Down

0 comments on commit c6b579d

Please sign in to comment.