Skip to content

Commit 261a876

Browse files
committed
fix test for travis
1 parent c171ce9 commit 261a876

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

test/test_basic_sin.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@
22
#
33
from helpers import assert_phash
44

5+
from matplotlib import pyplot as plt
6+
from matplotlib import style
7+
import numpy as np
8+
59

610
def plot():
7-
from matplotlib import pyplot as plt
8-
from matplotlib import style
9-
import numpy as np
1011
fig = plt.figure()
1112
with plt.style.context(('ggplot')):
1213
t = np.arange(0.0, 2.0, 0.1)
@@ -24,4 +25,4 @@ def plot():
2425

2526

2627
def test():
27-
assert_phash(plot(), '1f36e5ce21c1e5c1')
28+
assert_phash(plot(), '1f36e5c621c1e7c1')

0 commit comments

Comments
 (0)