Skip to content

Test failure for python 3.10 #2984

Description

@hiker

Simple typo:

a/src/psyclone/tests/psyir/transformations/transformations_test.py b/src/psyclone/tests/psyir/transformations/transformations_test.py
index 3051fc0375..c6294a997d 100644
--- a/src/psyclone/tests/psyir/transformations/transformations_test.py
+++ b/src/psyclone/tests/psyir/transformations/transformations_test.py
@@ -571,7 +571,7 @@ def test_omploop_trans_new_options(sample_psyir):
     # Check python version, as this tests have different behaviour for
     # new python versions vs 3.8 or 3.7.
     # TODO #2837: This can be removed when Python 3.7 and 3.8 are retired.
-    if sys.version_info[1] < 11:
+    if sys.version_info[1] < 10:
         with pytest.raises(TypeError) as excinfo:
             omplooptrans.apply(tree.walk(Loop)[0], collapse="x")
         assert ("The 'collapse' argument

3.10 is 'new' python for this test.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions