summaryrefslogtreecommitdiff
path: root/src/mailman/utilities/tests/test_modules.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman/utilities/tests/test_modules.py')
-rw-r--r--src/mailman/utilities/tests/test_modules.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mailman/utilities/tests/test_modules.py b/src/mailman/utilities/tests/test_modules.py
index 8e144e60b..d34a99910 100644
--- a/src/mailman/utilities/tests/test_modules.py
+++ b/src/mailman/utilities/tests/test_modules.py
@@ -67,7 +67,7 @@ class TestModuleImports(unittest.TestCase):
Path(init_file).touch()
with open(good_file, 'w', encoding='utf-8') as fp:
print("""\
-from mailman import public
+from public import public
from mailman.interfaces.styles import IStyle
from zope.interface import implementer
@@ -80,7 +80,7 @@ class GoodStyle:
""", file=fp)
with open(bad_file, 'w', encoding='utf-8') as fp:
print("""\
-from mailman import public
+from public import public
from mailman.interfaces.styles import IStyle
from zope.interface import implementer