From 2899ac6cde0c8cdca2efd60edd7b325314c0fe80 Mon Sep 17 00:00:00 2001 From: Ad5001 Date: Thu, 17 Oct 2024 03:41:41 +0200 Subject: [PATCH] Fixing unit testing importing unexpected and unused libraries. --- .gitignore | 6 ++++-- runtime-pyside6/tests/plugins/natural/interfaces/int.py | 3 +-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 3961125..e2308a5 100644 --- a/.gitignore +++ b/.gitignore @@ -37,8 +37,10 @@ docs/html *.lpf *.lgg +# Tests +common/coverage/ +**/.coverage + # npm common/node_modules -common/coverage/ -common/.coverage runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/js/index.mjs* diff --git a/runtime-pyside6/tests/plugins/natural/interfaces/int.py b/runtime-pyside6/tests/plugins/natural/interfaces/int.py index 7ac8871..75bd8b8 100644 --- a/runtime-pyside6/tests/plugins/natural/interfaces/int.py +++ b/runtime-pyside6/tests/plugins/natural/interfaces/int.py @@ -15,8 +15,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . """ -from idlelib.configdialog import is_int -from math import log10, floor, ceil +from math import log10, floor from typing import Self from .assertion import Assertion