summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArmin Ronacher <armin.ronacher@active-4.com>2010-08-11 10:16:20 +0200
committerArmin Ronacher <armin.ronacher@active-4.com>2010-08-11 10:16:20 +0200
commit4fa38b6fb0923789b2a9e6c7f980687c1725384d (patch)
tree398a3294f1e72d7589060ffca4df47fe433ecc22
parent5f853161c1041ccff04987e0fa736ebe2eb62e17 (diff)
downloadmarkupsafe-4fa38b6fb0923789b2a9e6c7f980687c1725384d.tar.gz
Fixed a tiny issue with __all__0.9.3
-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',