summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_posixpath.py
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2019-07-02 12:42:39 (GMT)
committerGitHub <noreply@github.com>2019-07-02 12:42:39 (GMT)
commit19b8d903b0dd43dc405c4d6e1c61c3429020545e (patch)
tree3391212bc1fc535c7fe766fdcf4ab4e8e63ec58a /Lib/test/test_posixpath.py
parentc53173aa00689aa1be17ce5406289718f6b30532 (diff)
downloadcpython-19b8d903b0dd43dc405c4d6e1c61c3429020545e.zip
cpython-19b8d903b0dd43dc405c4d6e1c61c3429020545e.tar.gz
cpython-19b8d903b0dd43dc405c4d6e1c61c3429020545e.tar.bz2
Revert "Remove unused imports in tests (GH-14518) (GH-14522)" (GH-14555)
This reverts commit e34b5f4d6483187969d5149c801d056b72ef2ddb.
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 6bca890..e73b31c 100644
--- a/Lib/test/test_posixpath.py
+++ b/Lib/test/test_posixpath.py
@@ -1,6 +1,7 @@
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
@@ -11,7 +12,6 @@ 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.