Skip to content

Commit

Permalink
fix import sequence in test_source_sampling
Browse files Browse the repository at this point in the history
  • Loading branch information
zxkjack123 committed Mar 6, 2019
1 parent 8c5d087 commit 76d5d8b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/test_source_sampling.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
import numpy as np
from numpy.testing import assert_array_equal, assert_array_almost_equal

from pyne.source_sampling import Sampler, AliasTable
from pyne.mesh import Mesh, NativeMeshTag

try:
from pyne.mesh import Mesh
# see if the source sampling module exists but do not import it
Expand All @@ -23,6 +20,8 @@
from nose.plugins.skip import SkipTest
raise SkipTest

from pyne.source_sampling import Sampler, AliasTable
from pyne.mesh import Mesh, NativeMeshTag
from pymoab import core as mb_core, types
from pyne.utils import QAWarning
warnings.simplefilter("ignore", QAWarning)
Expand Down

0 comments on commit 76d5d8b

Please sign in to comment.