Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

renamed capmanager class functions to its new ones #1055

Merged
merged 1 commit into from
Feb 29, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions tardis/tests/integration_tests/test_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ def setup(self, request, reference, data_path, pytestconfig):
# We now do a run with prepared config and get the simulation object.
self.result = Simulation.from_config(tardis_config,
atom_data=self.atom_data)
capmanager.suspend_global_capture(True)

capmanager.suspendcapture(True)
# If current test run is just for collecting reference data, store the
# output model to HDF file, save it at specified path. Skip all tests.
# Else simply perform the run and move further for performing
Expand All @@ -139,7 +139,7 @@ def setup(self, request, reference, data_path, pytestconfig):
pytest.skip("Reference data saved at {0}".format(
data_path['reference_path']
))
capmanager.resumecapture()
capmanager.resume_global_capture()

# Get the reference data through the fixture.
self.reference = reference
Expand Down Expand Up @@ -234,4 +234,4 @@ def plot_spectrum(self):
deviation, color='black')
deviation_ax.set_xlabel("Wavelength [Angstrom]")

return plt.gcf()
return plt.gcf()