Skip to content

test_markers.MarkersTestCase.test_interpret fails on py310 #154

@vsajip

Description

@vsajip

Original report by Michał Górny (Bitbucket: mgorny, GitHub: mgorny).


Not sure if this is a known problem:

$ python3.10 --version
Python 3.10.0rc2
$ tox -e py310
GLOB sdist-make: /tmp/distlib/setup.py
py310 inst-nodeps: /tmp/distlib/.tox/.tmp/package/1/distlib-0.3.4.dev0.zip
py310 installed: distlib @ file:///tmp/distlib/.tox/.tmp/package/1/distlib-0.3.4.dev0.zip
py310 run-test-pre: PYTHONHASHSEED='0'
py310 run-test: commands[0] | python setup.py test
/tmp/distlib/setup.py:8: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
  import distutils.core
running test
............................s......................................................s.......s..................F.......sss.ss..........sss......ss.........................s..........s.........................ssss.........ss.............
======================================================================
FAIL: test_interpret (test_markers.MarkersTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/distlib/tests/test_markers.py", line 73, in test_interpret
    self.assertFalse(interpret('python_version < "3.10"'))
AssertionError: True is not false

----------------------------------------------------------------------
Ran 235 tests in 19.500s

FAILED (failures=1, skipped=21)
ERROR: InvocationError for command /tmp/distlib/.tox/py310/bin/python setup.py test (exited with code 1)
_______________________________________________________________ summary _______________________________________________________________
ERROR:   py310: commands failed

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingmajor

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions