Skip to content

Commit

Permalink
Merge pull request #29 from sbraz/backports
Browse files Browse the repository at this point in the history
Remove backports for old Python versions
  • Loading branch information
jaraco committed Jan 23, 2020
2 parents 45db54b + 1c1a2b3 commit c3b3e94
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 19 deletions.
3 changes: 0 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ testing =
# upstream

# local
pathlib2
contextlib2
unittest2

docs =
# upstream
Expand Down
18 changes: 2 additions & 16 deletions test_zipp.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,13 @@
import io
import zipfile
import contextlib
import pathlib
import unittest
import tempfile
import shutil

try:
import pathlib
except ImportError:
import pathlib2 as pathlib

import zipp

if not hasattr(contextlib, 'ExitStack'):
import contextlib2
contextlib.ExitStack = contextlib2.ExitStack

try:
import unittest

unittest.TestCase.subTest
except AttributeError:
import unittest2 as unittest

__metaclass__ = type
consume = tuple

Expand Down

0 comments on commit c3b3e94

Please sign in to comment.