Skip to content

test_new_no_args fails on PyPy2.7 #671

Description

@mgorny
$ pypy --version
Python 2.7.13 (8cdda8b8cdb8ff29d9e620cccd6c5edd2f2a23ec, Apr 19 2019, 18:39:17)
[PyPy 7.1.1 with GCC 7.4.0]
$ cd python2 && pypy -m unittest discover
.....................................................................................................F...................................................................................................................................
======================================================================
FAIL: test_new_no_args (test_typing.GenericTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/typing/python2/test_typing.py", line 1825, in test_new_no_args
    A('foo')
AssertionError: TypeError not raised

----------------------------------------------------------------------
Ran 233 tests in 0.759s

FAILED (failures=1)

Same result with tox, after copying testenv:py27 to testenv:pypy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions