Support nose framework for the whole test suite.
--HG--
branch : trunk
diff --git a/tests/test_old_bugs.py b/tests/test_old_bugs.py
index 59d6037..7815bb7 100644
--- a/tests/test_old_bugs.py
+++ b/tests/test_old_bugs.py
@@ -8,9 +8,14 @@
:copyright: (c) 2009 by the Jinja Team.
:license: BSD.
"""
-from py.test import raises
from jinja2 import Environment, DictLoader, TemplateSyntaxError
+import conftest
+if conftest.NOSE:
+ from nose.tools import assert_raises as raises
+else:
+ from py.test import raises
+
def test_keyword_folding():
env = Environment()