summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_posixpath.py
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2019-07-01 16:28:25 (GMT)
committerGitHub <noreply@github.com>2019-07-01 16:28:25 (GMT)
commit8f4ef3b019ce380022018587571b0f970e668de3 (patch)
treed3699d2cae322c515e7a81e516527324fadc2d4d /Lib/test/test_posixpath.py
parentf9b7457bd7f438263e0d2dd1f70589ad56a2585e (diff)
downloadcpython-8f4ef3b019ce380022018587571b0f970e668de3.zip
cpython-8f4ef3b019ce380022018587571b0f970e668de3.tar.gz
cpython-8f4ef3b019ce380022018587571b0f970e668de3.tar.bz2
Remove unused imports in tests (GH-14518)
Diffstat (limited to 'Lib/test/test_posixpath.py')
-rw-r--r--Lib/test/test_posixpath.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_posixpath.py b/Lib/test/test_posixpath.py
index 983e2dd..4d3d897 100644
--- a/Lib/test/test_posixpath.py
+++ b/Lib/test/test_posixpath.py
@@ -1,7 +1,6 @@
import os
import posixpath
import unittest
-import warnings
from posixpath import realpath, abspath, dirname, basename
from test import support, test_genericpath
from test.support import FakePath
@@ -12,6 +11,7 @@ try:
except ImportError:
posix = None
+
# An absolute path to a temporary filename for testing. We can't rely on TESTFN
# being an absolute path, so we need this.