Permalink
Browse files

Fixed a tiny issue with __all__

  • Loading branch information...
1 parent 5f85316 commit 4fa38b6fb0923789b2a9e6c7f980687c1725384d @mitsuhiko mitsuhiko committed Aug 11, 2010
Showing with 7 additions and 2 deletions.
  1. +1 −1 markupsafe/__init__.py
  2. +5 −0 markupsafe/tests.py
  3. +1 −1 setup.py
View
@@ -12,7 +12,7 @@
from itertools import imap
-__all__ = ['Module', 'soft_unicode', 'escape']
+__all__ = ['Markup', 'soft_unicode', 'escape']
_striptags_re = re.compile(r'(<!--.*?-->|<[^>]*>)')
View
@@ -40,6 +40,11 @@ def __unicode__(self):
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):
View
@@ -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',

0 comments on commit 4fa38b6

Please sign in to comment.