Skip to content

Commit

Permalink
fix import error in test plugin file
Browse files Browse the repository at this point in the history
  • Loading branch information
neutrinoceros committed Jan 4, 2021
1 parent ca4d9ec commit 839eb01
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions yt/fields/tests/test_fields_plugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
from yt.testing import assert_raises, fake_random_ds

TEST_PLUGIN_FILE = """
import numpy as np
def _myfunc(field, data):
return np.random.random(data['density'].shape)
add_field('random', dimensions='dimensionless',
Expand Down

0 comments on commit 839eb01

Please sign in to comment.