summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--markupsafe/__init__.py2
-rw-r--r--markupsafe/tests.py5
-rw-r--r--setup.py2
3 files changed, 7 insertions, 2 deletions
diff --git a/markupsafe/__init__.py b/markupsafe/__init__.py
index 3e07f49..88049c1 100644
--- a/markupsafe/__init__.py
+++ b/markupsafe/__init__.py
@@ -12,7 +12,7 @@ import re
from itertools import imap
-__all__ = ['Module', 'soft_unicode', 'escape']
+__all__ = ['Markup', 'soft_unicode', 'escape']
_striptags_re = re.compile(r'(<!--.*?-->|<[^>]*>)')
diff --git a/markupsafe/tests.py b/markupsafe/tests.py
index 51b7bb4..7c81cda 100644
--- a/markupsafe/tests.py
+++ b/markupsafe/tests.py
@@ -40,6 +40,11 @@ class MarkupTestCase(unittest.TestCase):
assert Markup("<em>Foo &amp; Bar</em>").striptags() == "Foo & Bar"
assert Markup("&lt;test&gt;").unescape() == "<test>"
+ def test_all_set(self):
+ import markupsafe as markup
+ for item in markup.__all__:
+ getattr(markup, item)
+
class MarkupLeakTestCase(unittest.TestCase):
diff --git a/setup.py b/setup.py
index 7fae5ea..8fb7048 100644
--- a/setup.py
+++ b/setup.py
@@ -63,7 +63,7 @@ def run_setup(with_binary):
features['speedups'] = speedups
setup(
name='MarkupSafe',
- version='0.9.2',
+ version='0.9.3',
url='http://dev.pocoo.org/',
license='BSD',
author='Armin Ronacher',