diff options
author | Armin Ronacher <armin.ronacher@active-4.com> | 2017-01-06 21:00:01 +0100 |
---|---|---|
committer | Armin Ronacher <armin.ronacher@active-4.com> | 2017-01-06 21:00:01 +0100 |
commit | 73e2b510526c1520a9bfff2d9e5775e65d95ce10 (patch) | |
tree | 880a67e06f0ae9fbbfb1fd416cb4df3071ea90f1 /tests/test_imports.py | |
parent | cb4b551e12a4a3b190a5ee4ac9f019359653f99e (diff) | |
download | jinja2-73e2b510526c1520a9bfff2d9e5775e65d95ce10.tar.gz |
Cleaned up shitty syntax in testsuite
Diffstat (limited to 'tests/test_imports.py')
-rw-r--r-- | tests/test_imports.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_imports.py b/tests/test_imports.py index ade253e..6759127 100644 --- a/tests/test_imports.py +++ b/tests/test_imports.py @@ -26,7 +26,7 @@ def test_env(): @pytest.mark.imports -class TestImports(): +class TestImports(object): def test_context_imports(self, test_env): t = test_env.from_string('{% import "module" as m %}{{ m.test() }}') @@ -74,7 +74,7 @@ class TestImports(): @pytest.mark.imports @pytest.mark.includes -class TestIncludes(): +class TestIncludes(object): def test_context_include(self, test_env): t = test_env.from_string('{% include "header" %}') |