Skip to content

Commit

Permalink
Standard imports "unittest, os, collections" should be placed before …
Browse files Browse the repository at this point in the history
…"import plotly" (wrong-import-order). Remove used variable "i"
  • Loading branch information
jbampton authored and chriddyp committed Nov 30, 2017
1 parent 811acb6 commit c60aa55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/development/test_base_component.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
from collections import OrderedDict
import inspect
import json
import plotly
import unittest
import collections
import os
import plotly

from dash.development.base_component import (
generate_class,
Expand Down Expand Up @@ -126,7 +126,7 @@ def test_set_item_with_nested_children_with_mixed_strings_and_without_lists(self
c = nested_tree()[0]

# Test setting items starting from the innermost item
for i, key in enumerate(reversed(keys)):
for key in reversed(keys):
new_id = 'new {}'.format(key)
new_component = Component(
id=new_id,
Expand Down

0 comments on commit c60aa55

Please sign in to comment.