From 1cbd2e7ae6e3cb0469d4d2ceedda5fcf26f2f27c Mon Sep 17 00:00:00 2001 From: Vladimir Latypov Date: Mon, 22 Apr 2024 17:06:45 +0300 Subject: [PATCH] Fix redundant imports --- golem/utilities/utilities.py | 1 - test/conftest.py | 3 --- test/unit/utilities/random_seeds.py | 5 +---- 3 files changed, 1 insertion(+), 8 deletions(-) diff --git a/golem/utilities/utilities.py b/golem/utilities/utilities.py index 3bd8e270..2387bb8e 100644 --- a/golem/utilities/utilities.py +++ b/golem/utilities/utilities.py @@ -1,4 +1,3 @@ -import logging from typing import Optional import numpy as np diff --git a/test/conftest.py b/test/conftest.py index 51ec1450..c1b3e019 100644 --- a/test/conftest.py +++ b/test/conftest.py @@ -1,8 +1,5 @@ -import random from unittest.mock import patch - import pytest - from golem.utilities.utilities import urandom_mock, set_random_seed diff --git a/test/unit/utilities/random_seeds.py b/test/unit/utilities/random_seeds.py index 1fef4cd3..478dc70d 100644 --- a/test/unit/utilities/random_seeds.py +++ b/test/unit/utilities/random_seeds.py @@ -1,9 +1,6 @@ -from unittest.mock import patch - from examples.synthetic_graph_evolution.generators import generate_labeled_graph from examples.synthetic_graph_evolution.graph_search import graph_search_setup -from golem.utilities.utilities import set_random_seed, urandom_mock -from test.integration.test_quality_improvement import run_graph_trial +from golem.utilities.utilities import set_random_seed def test_random_seed_fully_determines_evolution_process():