From 208f9a1f6604503318d1a993fd27c5804070c14c Mon Sep 17 00:00:00 2001 From: Josh Meyers Date: Wed, 17 Jul 2024 14:16:38 -0700 Subject: [PATCH] Refactor handling of slow vk tests. --- tests/test_vonkarman.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_vonkarman.py b/tests/test_vonkarman.py index bccaf39314..3374fc2133 100644 --- a/tests/test_vonkarman.py +++ b/tests/test_vonkarman.py @@ -25,10 +25,10 @@ @timer -def test_vk(slow=False): +def test_vk(): """Test the generation of VonKarman profiles """ - if slow: + if __name__ == "__main__": lams = [300.0, 500.0, 1100.0] r0_500s = [0.05, 0.15, 0.3] L0s = [1e10, 25.0, 10.0]