Skip to content

Commit

Permalink
Revert "fix test"
Browse files Browse the repository at this point in the history
This reverts commit 5acc1f0.
  • Loading branch information
jan-janssen committed Feb 5, 2024
1 parent 27f463c commit 1743981
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/atomic/structure/test_atoms.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
)
from pyiron_atomistics.atomistics.structure.factory import StructureFactory
from pyiron_atomistics.atomistics.structure.periodic_table import (
element,
PeriodicTable,
ChemicalElement,
)
Expand Down Expand Up @@ -1720,6 +1721,7 @@ def test_cached_speed(self):
n_timing_loop = 1
t1, t2, t3, t4, t5, t6, t7 = [np.array([0.0] * n_timing_loop) for _ in range(7)]
for i in range(n_timing_loop):
element.cache_clear()
PeriodicTable._get_periodic_table_df.cache_clear()
t1[i] = time.perf_counter()
Atoms(symbols="Al", positions=pos, cell=cell)
Expand Down

0 comments on commit 1743981

Please sign in to comment.