Skip pep0484 tests when using Python 2.6.

This commit is contained in:
Dave Halter
2016-01-26 15:59:27 -02:00
parent 633e5aa76f
commit 257009d238
2 changed files with 9 additions and 6 deletions

View File

@@ -3,6 +3,8 @@ Test the typing library, with docstrings. This is needed since annotations
are not supported in python 2.7 else then annotating by comment (and this is
still TODO at 2016-01-23)
"""
# There's no Python 2.6 typing module.
# python >= 2.7
import typing
class B:
pass