-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Python3 compatibility:: Fixes json.load error
Following Tests(edx-platform) Fail with the error "TypeError: the JSON object must be str, not 'bytes'" TestRecommenderFileUploading.test_import_resources_wrong_format_1 TestRecommenderFileUploading.test_import_resources_2 python3 json is unable to load bytes type data. simplejson works fine for both bytes type data and unicode data.
- Loading branch information
Showing
3 changed files
with
6 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
webob | ||
bleach==2.1.4 | ||
boto | ||
fs | ||
mako | ||
boto | ||
bleach==2.1.4 | ||
pycodestyle | ||
simplejson | ||
webob |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters