File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
tests/test_core/test_plotly Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -1391,7 +1391,10 @@ def add_share_key_to_url(plot_url):
1391
1391
1392
1392
_api_v2 .response_handler (new_response )
1393
1393
1394
- new_response_data = json .loads (new_response .content )
1394
+ # decode bytes for python 3.3: https://bugs.python.org/issue10976
1395
+ str_content = new_response .content .decode ('utf-8' )
1396
+
1397
+ new_response_data = json .loads (str_content )
1395
1398
plot_url += '?share_key=' + new_response_data ['share_key' ]
1396
1399
1397
1400
return plot_url
Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ def test_plot_option_logic_only_sharing_given(self):
173
173
'sharing' : 'private' }
174
174
self .assertEqual (plot_option_logic , expected_plot_option_logic )
175
175
176
- @skip ('added to see if everything else passes on circle' )
176
+ # @skip('added to see if everything else passes on circle')
177
177
def test_plot_url_given_sharing_key (self ):
178
178
179
179
# Give share_key is requested, the retun url should contain
You can’t perform that action at this time.
0 commit comments