The commit for I1654befe9eb1c8b8e7fc0784bdbe64284614f0ea #5357
runs the test on all Python 3 versions, however we need to limit
at least python 3.6 for this.
Change-Id: Ie86b78bbfd8c7bd013ff9aa7f8905328d792c1b3
(cherry picked from commit
43a111e326acae85f4623b8dd507468d99d5ef3a)
lambda: sys.version_info < (3,), "Python version 3.xx is required."
)
+ @property
+ def python36(self):
+ return exclusions.skip_if(
+ lambda: sys.version_info < (3, 6),
+ "Python version 3.6 or greater is required.",
+ )
+
@property
def python37(self):
return exclusions.skip_if(
assert not hasattr(Foo, "data_hybrid")
- @testing.requires.python3
+ @testing.requires.python36
def test_kw_support_in_declarative_meta_init(self):
# This will not fail if DeclarativeMeta __init__ supports **kw