summaryrefslogtreecommitdiff
path: root/uitest/math_tests
diff options
context:
space:
mode:
authorRakielle <rakielledev@gmail.com>2022-10-15 20:19:33 +0100
committerXisco Fauli <xiscofauli@libreoffice.org>2022-10-17 13:32:56 +0200
commit09ba0057e3d7f8c9d1166269b232a8b2692fa506 (patch)
tree7daead76f7bb02c8094b6a3160170f10c06817ec /uitest/math_tests
parent61f660daef0e9c848087fbc7a8f95395c7093b8f (diff)
tdf#132293 remove unused imports and variables
I used pyflakes to check for any unused imports and variables in python scripts under sc, sw, uitest directories, and then removed the unused imports and variables Change-Id: I0690c9366087dc602ee8ea169bc1c9063033fef6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141421 Tested-by: Jenkins Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'uitest/math_tests')
-rw-r--r--uitest/math_tests/start.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/uitest/math_tests/start.py b/uitest/math_tests/start.py
index 962d74e686f4..6b3278acf907 100644
--- a/uitest/math_tests/start.py
+++ b/uitest/math_tests/start.py
@@ -14,9 +14,6 @@ from libreoffice.uno.propertyvalue import mkPropertyValues
from uitest.framework import UITestCase
from uitest.uihelper.common import type_text, select_pos
-import unittest
-import platform
-
class SimpleMathTest(UITestCase):
def test_math_unoCommand(self):
@@ -39,7 +36,6 @@ class SimpleMathTest(UITestCase):
xEditView = xMathDoc.getChild("editview")
type_text(xEditView, "E=mc^2")
- xMathEdit = xMathDoc.getChild("editview")
self.assertEqual("E=mc^2", get_state_as_dict(xEditView)["Text"])