Skip to content

Commit

Permalink
add setUp method with random seeding for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
clarkfitzg committed Sep 2, 2015
1 parent cde7b08 commit 03d991a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions seaborn/tests/__init__.py
@@ -1,7 +1,11 @@
import numpy as np
from matplotlib.pyplot import close


class PlotTestCase(object):

def setUp(self):
np.random.seed(49)

def tearDown(self):
close('all')

0 comments on commit 03d991a

Please sign in to comment.