summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_urlparse.py
diff options
context:
space:
mode:
authorNikita Sobolev <mail@sobolevn.me>2024-06-03 07:50:29 (GMT)
committerGitHub <noreply@github.com>2024-06-03 07:50:29 (GMT)
commit84c3191954b40e090db15da49a59fcc40afe34fd (patch)
treec8ffd6fe2beb28222bbe9de775be2021862221b5 /Lib/test/test_urlparse.py
parent52586f930f62bd80374f0f240a4ecce0c0238174 (diff)
downloadcpython-84c3191954b40e090db15da49a59fcc40afe34fd.zip
cpython-84c3191954b40e090db15da49a59fcc40afe34fd.tar.gz
cpython-84c3191954b40e090db15da49a59fcc40afe34fd.tar.bz2
gh-118827: Remove `Quoter` from `urllib.parse` (#118828)
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Diffstat (limited to 'Lib/test/test_urlparse.py')
-rw-r--r--Lib/test/test_urlparse.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/Lib/test/test_urlparse.py b/Lib/test/test_urlparse.py
index 4faad73..d6c83a7 100644
--- a/Lib/test/test_urlparse.py
+++ b/Lib/test/test_urlparse.py
@@ -1507,13 +1507,6 @@ class Utility_Tests(unittest.TestCase):
class DeprecationTest(unittest.TestCase):
-
- def test_Quoter_deprecation(self):
- with self.assertWarns(DeprecationWarning) as cm:
- old_class = urllib.parse.Quoter
- self.assertIs(old_class, urllib.parse._Quoter)
- self.assertIn('Quoter will be removed', str(cm.warning))
-
def test_splittype_deprecation(self):
with self.assertWarns(DeprecationWarning) as cm:
urllib.parse.splittype('')