From fe22ebdb98d125db840c980cbd953a8fbc2e5cdf Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Tue, 29 Nov 2016 18:51:05 -0500 Subject: Use `atpublic` for @public instead of internal copy. --- src/mailman/utilities/tests/test_modules.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mailman/utilities/tests/test_modules.py') 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 -- cgit v1.2.3-70-g09d2