diff --git a/setup.cfg b/setup.cfg index 9d0aa332e..368df1e1a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -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] diff --git a/testing/code/test_source.py b/testing/code/test_source.py index 0a2a98c02..d2e3c134c 100644 --- a/testing/code/test_source.py +++ b/testing/code/test_source.py @@ -501,7 +501,7 @@ def test_getfslineno(): class B(object): pass - B.__name__ = "B2" + B.__name__ = B.__qualname__ = "B2" assert getfslineno(B)[1] == -1 diff --git a/tox.ini b/tox.ini index 61cb4bef0..f75a06104 100644 --- a/tox.ini +++ b/tox.ini @@ -11,6 +11,7 @@ envlist = py36 py37 py38 + py39 pypy pypy3 {py27,py37}-{pexpect,xdist,twisted,numpy,pluggymaster}