summaryrefslogtreecommitdiff
path: root/sw/qa/uitest/ui
diff options
context:
space:
mode:
authorChenxiong Qi <qcxhome@gmail.com>2023-12-17 22:14:09 +0800
committerHossein <hossein@libreoffice.org>2023-12-27 13:48:47 +0100
commit8b6e0dd9e47c20a79fd194f6d530d1c868911bda (patch)
tree9ebad0a155cf126fe6fde2b892bb164aaf914000 /sw/qa/uitest/ui
parent7ad6ae594fd92b736b4217268eea47c71c04c34a (diff)
tdf#158803 Fix issues detected by pyflakes
Change-Id: Iaa329dff61db894e7d5fecd840e785a53a48b26f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160889 Tested-by: Jenkins Reviewed-by: Hossein <hossein@libreoffice.org>
Diffstat (limited to 'sw/qa/uitest/ui')
-rw-r--r--sw/qa/uitest/ui/frmdlg/frmdlg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/qa/uitest/ui/frmdlg/frmdlg.py b/sw/qa/uitest/ui/frmdlg/frmdlg.py
index 36de1876bdd9..f7e91269c299 100644
--- a/sw/qa/uitest/ui/frmdlg/frmdlg.py
+++ b/sw/qa/uitest/ui/frmdlg/frmdlg.py
@@ -105,7 +105,7 @@ class Test(UITestCase):
def test_insert_simple_frame(self):
# Given a Writer document:
- with self.ui_test.create_doc_in_start_center("writer") as xComponent:
+ with self.ui_test.create_doc_in_start_center("writer"):
# When inserting a simple text frame (not a floating table):
with self.ui_test.execute_dialog_through_command(".uno:InsertFrame") as xDialog:
to_char = xDialog.getChild("tochar")