You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On some systems, loading full fundref dataset using requests raises: UnicodeEncodeError: 'ascii' codec can't encode character u'\u2019' in position 1551758: ordinal not in range(128)
This unit tests reproduces it:
deftest_full_remote_fundref_loader(app):
"""Test the remote loadef for the FundRef dataset."""withapp.app_context():
frl=RemoteFundRefLoader()
json_dataset=list(frl.iter_funders())
assertlen(json_dataset) ==5
On some systems, loading full fundref dataset using
requests
raises:UnicodeEncodeError: 'ascii' codec can't encode character u'\u2019' in position 1551758: ordinal not in range(128)
This unit tests reproduces it:
But also short snipplet like:
The text was updated successfully, but these errors were encountered: