From 28596c17f2756d5fcf76a9985d6db88390df23fe Mon Sep 17 00:00:00 2001 From: Cameron Hummels Date: Wed, 6 May 2020 16:35:50 -0700 Subject: [PATCH] Fixing flake tests. --- tests/gold_standard_versions.py | 1 + tests/test_gold.py | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/gold_standard_versions.py b/tests/gold_standard_versions.py index 5e92c9a050..d1618c133c 100644 --- a/tests/gold_standard_versions.py +++ b/tests/gold_standard_versions.py @@ -38,5 +38,6 @@ def get_gold_standard_version(): assert(yt_gold is not None) assert(trident_gold is not None) + if __name__ == "__main__": get_gold_standard_version() diff --git a/tests/test_gold.py b/tests/test_gold.py index 60915f690b..ff72b72db6 100644 --- a/tests/test_gold.py +++ b/tests/test_gold.py @@ -10,8 +10,6 @@ # The full license is in the file LICENSE, distributed with this software. #----------------------------------------------------------------------------- -import os - from gold_standard_versions import \ get_gold_standard_version