Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
optimize imports
Browse files Browse the repository at this point in the history
  • Loading branch information
roywei committed Jul 2, 2018
1 parent e424405 commit 1b778a6
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tests/python/unittest/test_viz.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@
# specific language governing permissions and limitations
# under the License.

import mxnet as mx
import warnings
import unittest
import warnings

import mxnet as mx


def test_print_summary():
data = mx.sym.Variable('data')
Expand Down Expand Up @@ -56,7 +58,7 @@ def test_plot_network():
assert len(w) == 1
assert "There are multiple variables with the same name in your graph" in str(w[-1].message)
assert "fc" in str(w[-1].message)

if __name__ == "__main__":
import nose
nose.runmodule()

0 comments on commit 1b778a6

Please sign in to comment.