1
0
spogulis no https://github.com/arsenetar/send2trash.git synced 2025-09-11 18:08:16 +00:00

Fix broken tests on py2

Šī revīzija ir iekļauta:
Virgil Dupras 2018-07-26 08:30:39 -04:00
vecāks 0d7b4b4ad9
revīzija 74352462f5

Parādīt failu

@ -6,7 +6,11 @@ from os import path as op
import send2trash.plat_other import send2trash.plat_other
from send2trash.plat_other import send2trash as s2t from send2trash.plat_other import send2trash as s2t
from send2trash.compat import PY3 from send2trash.compat import PY3
from configparser import ConfigParser try:
from configparser import ConfigParser
except ImportError:
# py2
from ConfigParser import ConfigParser
from tempfile import mkdtemp, NamedTemporaryFile, mktemp from tempfile import mkdtemp, NamedTemporaryFile, mktemp
import shutil import shutil
import stat import stat