commit 160ac7242eec1a29e37310f336ee2c7ef8240b23
Author: José Matos <[email protected]>
Date: Sun Jun 16 07:45:43 2024 +0100
Remove undisclosed imports (from xxx import *)
This was the last example in this directory.
---
lib/lyx2lyx/test_lyx2lyx_tools.py | 3 +--
lib/lyx2lyx/test_parser_tools.py | 19 +++++++++++++++++--
2 files changed, 18 insertions(+), 4 deletions(-)
diff --git a/lib/lyx2lyx/test_lyx2lyx_tools.py
b/lib/lyx2lyx/test_lyx2lyx_tools.py
index 283f49889c..4184b0e563 100644
--- a/lib/lyx2lyx/test_lyx2lyx_tools.py
+++ b/lib/lyx2lyx/test_lyx2lyx_tools.py
@@ -17,9 +17,8 @@
"This modules tests the auxiliary functions for lyx2lyx."
-from lyx2lyx_tools import *
-
import unittest
+from lyx2lyx_tools import put_cmd_in_ert, latex_length
class TestParserTools(unittest.TestCase):
diff --git a/lib/lyx2lyx/test_parser_tools.py b/lib/lyx2lyx/test_parser_tools.py
index 705c09bf4b..f9bdc33d35 100644
--- a/lib/lyx2lyx/test_parser_tools.py
+++ b/lib/lyx2lyx/test_parser_tools.py
@@ -17,9 +17,24 @@
"This modules tests the functions used to help parse lines."
-from parser_tools import *
-
import unittest
+from parser_tools import (
+ check_token,
+ is_nonempty_line,
+ find_token,
+ find_substring,
+ find_re,
+ re,
+ find_complete_lines,
+ find_across_lines,
+ find_tokens,
+ get_value,
+ get_bool_value,
+ del_complete_lines,
+ del_value,
+ set_bool_value
+ )
+
lines = r"""
\begin_layout Standard
--
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs