old_contents: import numpy as np
  from matplotlib.pyplot import close
  
  
  class PlotTestCase(object):
      '''Adatped from seaborn.'''
      def setUp(self):
          np.random.seed(33)
  
      def tearDown(self):
          close('all')
  
new_contents: import numpy as np
  import matplotlib.pyplot as plt
  
  
  class PlotTestCase(object):
      '''Adatped from seaborn.'''
      def setUp(self):
          np.random.seed(33)
  
      def tearDown(self):
          plt.close('all')
  
subject: Tidy import in tests __init__