Merge pull request #7190 from hroncok/backport-7179

This commit is contained in:
Bruno Oliveira 2020-05-07 22:25:40 -03:00 committed by GitHub
commit 3d470555e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 1 deletions

View File

@ -30,6 +30,8 @@ classifiers =
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
platforms = unix, linux, osx, cygwin, win32
[options]

View File

@ -501,7 +501,7 @@ def test_getfslineno():
class B(object):
pass
B.__name__ = "B2"
B.__name__ = B.__qualname__ = "B2"
assert getfslineno(B)[1] == -1

View File

@ -11,6 +11,7 @@ envlist =
py36
py37
py38
py39
pypy
pypy3
{py27,py37}-{pexpect,xdist,twisted,numpy,pluggymaster}