From d1592875cadcda61b04cb479a5becebbae08d0d4 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Mon, 19 Oct 2020 12:09:58 +0200 Subject: unittests: cleanup unused imports --- src/tests/test_task_scheduler.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/tests/test_task_scheduler.py') diff --git a/src/tests/test_task_scheduler.py b/src/tests/test_task_scheduler.py index 084bd868c..f15fcde88 100644 --- a/src/tests/test_task_scheduler.py +++ b/src/tests/test_task_scheduler.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 # -# Copyright (C) 2018 VyOS maintainers and contributors +# Copyright (C) 2018-2020 VyOS maintainers and contributors # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 or later as @@ -13,14 +13,13 @@ # # You should have received a copy of the GNU General Public License # along with this program. If not, see . -# -# import os import tempfile import unittest from vyos import ConfigError + try: from src.conf_mode import task_scheduler except ModuleNotFoundError: # for unittest.main() -- cgit v1.2.3