diff options
Diffstat (limited to 'tests/test_features.py')
-rw-r--r-- | tests/test_features.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_features.py b/tests/test_features.py index c7c43e8..4f36458 100644 --- a/tests/test_features.py +++ b/tests/test_features.py @@ -3,8 +3,9 @@ import pytest from jinja2 import Template +# Python < 3.7 def test_generator_stop(): - class X(object): + class X: def __getattr__(self, name): raise StopIteration() |