summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2022-02-25 11:35:06 -0500
committerJason R. Coombs <jaraco@jaraco.com>2022-02-25 11:35:06 -0500
commit3e7244107b170a5d43ed6ed27a325247da20e61d (patch)
treec77b79762a01253bf8c0b21f3f25c3416a7e024d
parent25b782a02670bfc56c75e7c7ba985e0e7c1e421c (diff)
downloadpytest-runner-3e7244107b170a5d43ed6ed27a325247da20e61d.tar.gz
Remove legacy code
-rw-r--r--ptr.py6
-rw-r--r--tests/test_ptr.py2
2 files changed, 0 insertions, 8 deletions
diff --git a/ptr.py b/ptr.py
index cf45e68..a81a619 100644
--- a/ptr.py
+++ b/ptr.py
@@ -10,12 +10,6 @@ import operator as _operator
import itertools as _itertools
import warnings as _warnings
-try:
- # ensure that map has the same meaning on Python 2
- from future_builtins import map
-except ImportError:
- pass
-
import pkg_resources
import setuptools.command.test as orig
from setuptools import Distribution
diff --git a/tests/test_ptr.py b/tests/test_ptr.py
index 7222d76..fc2eb82 100644
--- a/tests/test_ptr.py
+++ b/tests/test_ptr.py
@@ -1,5 +1,3 @@
-from __future__ import unicode_literals
-
import io
import os
import shutil