Browse Source

Fix broken tests on py2

tags/1.6.0b1
Virgil Dupras 2 years ago
parent
commit
74352462f5
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      tests/test_plat_other.py

+ 5
- 1
tests/test_plat_other.py View File

@@ -6,7 +6,11 @@ from os import path as op
import send2trash.plat_other
from send2trash.plat_other import send2trash as s2t
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
import shutil
import stat


Loading…
Cancel
Save