diff --git a/tests/test_tmjob.py b/tests/test_tmjob.py index 5c5ff679..9a15b66b 100644 --- a/tests/test_tmjob.py +++ b/tests/test_tmjob.py @@ -10,7 +10,6 @@ from pytom_tm.io import read_mrc, write_mrc, UnequalSpacingError from pytom_tm.extract import extract_particles from testing_utils import CTF_PARAMS, ACCUMULATED_DOSE, TILT_ANGLES -from importlib import reload TOMO_SHAPE = (100, 107, 59) @@ -757,8 +756,6 @@ def test_extractions(self): ) # Test exraction with tophat filter and plotting - # reload is needed for plotting_available caching - reload(extract_particles) df, scores = extract_particles( job, 5, diff --git a/tests/test_broken_imports.py b/tests/testzz_broken_imports.py similarity index 97% rename from tests/test_broken_imports.py rename to tests/testzz_broken_imports.py index 23a6c826..0bde9499 100644 --- a/tests/test_broken_imports.py +++ b/tests/testzz_broken_imports.py @@ -1,3 +1,5 @@ +# This file is named testzz_* as it should run last, +# because it permanently destroys the imports # No imports of pytom_tm outside of the methods import unittest from importlib import reload