From 75a840b10b4d8110807b6e7c67bc0410987b1d76 Mon Sep 17 00:00:00 2001 From: Veronica Berglyd Olsen <1619840+vkbo@users.noreply.github.com> Date: Thu, 20 Jul 2023 21:07:12 +0200 Subject: [PATCH] Clean up imports --- tests/test_core/test_core_coretools.py | 2 +- tests/test_gui/test_gui_projtree.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_core/test_core_coretools.py b/tests/test_core/test_core_coretools.py index 108c98a2..04aae086 100644 --- a/tests/test_core/test_core_coretools.py +++ b/tests/test_core/test_core_coretools.py @@ -19,11 +19,11 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . """ -from pathlib import Path import uuid import pytest from shutil import copyfile +from pathlib import Path from zipfile import ZipFile from mocked import causeOSError diff --git a/tests/test_gui/test_gui_projtree.py b/tests/test_gui/test_gui_projtree.py index 3a249f25..36dbbaa3 100644 --- a/tests/test_gui/test_gui_projtree.py +++ b/tests/test_gui/test_gui_projtree.py @@ -22,15 +22,15 @@ along with this program. If not, see . from pathlib import Path import pytest -from mocked import causeOSError -from novelwriter.guimain import GuiMain from tools import C, buildTestProject +from mocked import causeOSError from PyQt5.QtCore import Qt from PyQt5.QtWidgets import QMessageBox, QMenu, QTreeWidgetItem, QDialog from novelwriter import CONFIG from novelwriter.enum import nwItemLayout, nwItemType, nwItemClass +from novelwriter.guimain import GuiMain from novelwriter.gui.projtree import GuiProjectTree from novelwriter.dialogs.docmerge import GuiDocMerge from novelwriter.dialogs.docsplit import GuiDocSplit