Skip to content

Commit 4cad45a

Browse files
committed
py33 fix - items, not iteritems
1 parent a291c6c commit 4cad45a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plotly/tests/test_core/test_plotly/test_plot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -340,15 +340,15 @@ def gen_test_signin(plot_options):
340340
def test(self):
341341
py.sign_in('username', 'key', **plot_options['parent'])
342342
options = py._plot_option_logic(plot_options['child'])
343-
for option, value in plot_options['expected_output'].iteritems():
343+
for option, value in plot_options['expected_output'].items():
344344
self.assertEqual(options[option], value)
345345
return test
346346

347347
def gen_test_config(plot_options):
348348
def test(self):
349349
tls.set_config(**plot_options['parent'])
350350
options = py._plot_option_logic(plot_options['child'])
351-
for option, value in plot_options['expected_output'].iteritems():
351+
for option, value in plot_options['expected_output'].items():
352352
self.assertEqual(options[option], value)
353353

354354
for i, plot_options in enumerate(plot_option_sets):

0 commit comments

Comments
 (0)