From 9381e63bbb0fa12264880c6ffa828ea3635c35a2 Mon Sep 17 00:00:00 2001 From: Lester Hedges Date: Thu, 2 Nov 2023 13:51:31 +0000 Subject: [PATCH] Use CPU platform for testing. --- tests/runner/test_config.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/runner/test_config.py b/tests/runner/test_config.py index 7540716..6d594eb 100644 --- a/tests/runner/test_config.py +++ b/tests/runner/test_config.py @@ -12,7 +12,8 @@ def test_dynamics_options(): mols = sr.load(sr.expand(sr.tutorial_url, "merged_molecule.s3")) # Instantiate a runner using the default config. - runner = Runner(mols, Config()) + # (All default options, other than platform="cpu".) + runner = Runner(mols, Config(platform="cpu")) # Initalise a fake simulation. runner._initialise_simulation(runner._system.clone(), 0.0)