diff options
author | Rakielle <rakielledev@gmail.com> | 2022-10-15 20:19:33 +0100 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2022-10-17 13:32:56 +0200 |
commit | 09ba0057e3d7f8c9d1166269b232a8b2692fa506 (patch) | |
tree | 7daead76f7bb02c8094b6a3160170f10c06817ec /sc/qa/uitest/calc_tests | |
parent | 61f660daef0e9c848087fbc7a8f95395c7093b8f (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 'sc/qa/uitest/calc_tests')
-rw-r--r-- | sc/qa/uitest/calc_tests/goToSheet.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/qa/uitest/calc_tests/goToSheet.py b/sc/qa/uitest/calc_tests/goToSheet.py index ab2311374b71..f77fb24e8856 100644 --- a/sc/qa/uitest/calc_tests/goToSheet.py +++ b/sc/qa/uitest/calc_tests/goToSheet.py @@ -12,7 +12,7 @@ from libreoffice.uno.propertyvalue import mkPropertyValues class goToSheet(UITestCase): def test_go_to_sheet(self): - with self.ui_test.create_doc_in_start_center("calc") as document: + with self.ui_test.create_doc_in_start_center("calc"): xCalcDoc = self.xUITest.getTopFocusWindow() xGridWindow = xCalcDoc.getChild("grid_window") |