Compare commits

...

3 Commits

Author SHA1 Message Date
Andrew Senetar 62849fba0b
Remove Python 3.4 2021-08-19 21:01:55 -05:00
Andrew Senetar 74f2dff57b
Add exception handling to file cleanup
- Surpress errors caused by long file cleanup in older python environments
2021-08-19 20:46:02 -05:00
Andrew Senetar 922fc0342a
Update tox config 2021-08-19 20:46:02 -05:00
4 changed files with 6 additions and 3 deletions

View File

@ -1,7 +1,6 @@
language: python
matrix:
include:
- python: "3.4"
- python: "2.7"
arch: ppc64le
- python: "3.6"

View File

@ -20,7 +20,6 @@ classifiers =
Operating System :: POSIX
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3
Programming Language :: Python :: 3.4
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
@ -32,6 +31,7 @@ classifiers =
[options]
packages = send2trash
tests_require = pytest
python_requires = >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*
[options.extras_require]
win32 = pywin32; sys_platform == "win32"

View File

@ -144,7 +144,10 @@ def longdir(tmp_path):
dirname = "\\\\?\\" + str(tmp_path)
name = "A" * 100
yield op.join(dirname, name, name, name)
shutil.rmtree(dirname, ignore_errors=True)
try:
shutil.rmtree(dirname, ignore_errors=True)
except TypeError:
pass
@pytest.fixture

View File

@ -1,6 +1,7 @@
[tox]
envlist = py{27,34,35,36,37,38,39,310}
skip_missing_interpreters = True
isolated_build = True
[testenv]
deps =