summaryrefslogtreecommitdiff
path: root/tests/resources.py
diff options
context:
space:
mode:
authorDavid Cain <davidjosephcain@gmail.com>2020-05-17 11:33:12 -0700
committerClaudiu Popa <pcmanticore@gmail.com>2020-05-21 17:05:55 +0200
commitf6d1509709ebc1b2053475ed8ebeb7b2294be1dd (patch)
tree7f536922801f53dfe53a701fb0767263647807dd /tests/resources.py
parentb453668a066428eb01d6a06d32b75adb622c9bbc (diff)
downloadastroid-git-f6d1509709ebc1b2053475ed8ebeb7b2294be1dd.tar.gz
Remove unneeded python2 test data
Now that astroid no longer supports Python 2, there's reason to keep this test data around. The `tests/testdata/python2` directory is not referenced at all, so we may safely delete it. It's perhaps just worth moving all of `testdata/python3` into a new directory, but this is a start.
Diffstat (limited to 'tests/resources.py')
-rw-r--r--tests/resources.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/resources.py b/tests/resources.py
index e18b4590..7113f2b1 100644
--- a/tests/resources.py
+++ b/tests/resources.py
@@ -15,7 +15,7 @@ from astroid import MANAGER
from astroid.bases import BUILTINS
-DATA_DIR = os.path.join("testdata", "python{}".format(sys.version_info[0]))
+DATA_DIR = os.path.join("testdata", "python3")
RESOURCE_PATH = os.path.join(os.path.dirname(__file__), DATA_DIR, "data")