Skip to content

Commit

Permalink
Added tearDownClass to test_ProcessSofastFixed
Browse files Browse the repository at this point in the history
  • Loading branch information
braden6521 committed Mar 28, 2024
1 parent 5fae6ab commit 4813177
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 5 additions & 0 deletions opencsp/app/sofast/test/test_ProcessSofastFixed.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
from os.path import join
import unittest

import matplotlib.pyplot as plt
import numpy as np

from opencsp.app.sofast.lib.DefinitionFacet import DefinitionFacet
Expand Down Expand Up @@ -82,6 +83,10 @@ def test_slopes_xy(self):
self.process_sofast_fixed.data_slope_solver.slopes_facet_xy, self.exp_slopes_xy, rtol=0, atol=1e-6
)

@classmethod
def tearDownClass(cls):
plt.close('all')


if __name__ == '__main__':
unittest.main()
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

import os

import matplotlib
import pytest

from opencsp.common.lib.opencsp_path.opencsp_root_path import opencsp_code_dir
Expand Down

0 comments on commit 4813177

Please sign in to comment.