Skip to content

Commit cfc8ee8

Browse files
committed
skip get_var_value test on py3.10
1 parent ab4a2ef commit cfc8ee8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/units/vars/test_dep_tracking.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,9 @@ async def func_with_get_var_value(self: DependencyTestState):
272272
assert tracker.dependencies == expected_deps
273273

274274

275+
@pytest.mark.skipif(
276+
sys.version_info < (3, 11), reason="Requires Python 3.11+ for positions"
277+
)
275278
def test_get_var_value_with_import_from():
276279
"""Test that get_var_value with function-local `from ... import ...` finds correct dependency."""
277280

0 commit comments

Comments
 (0)