@@ -1916,63 +1916,63 @@ def test_splittype_deprecation(self):
19161916 urllib .parse .splittype ('' )
19171917 self .assertEqual (str (cm .warning ),
19181918 'urllib.parse.splittype() is deprecated as of 3.8, '
1919- 'use urllib.parse.urlparse () instead' )
1919+ 'use urllib.parse.urlsplit () instead' )
19201920
19211921 def test_splithost_deprecation (self ):
19221922 with self .assertWarns (DeprecationWarning ) as cm :
19231923 urllib .parse .splithost ('' )
19241924 self .assertEqual (str (cm .warning ),
19251925 'urllib.parse.splithost() is deprecated as of 3.8, '
1926- 'use urllib.parse.urlparse () instead' )
1926+ 'use urllib.parse.urlsplit () instead' )
19271927
19281928 def test_splituser_deprecation (self ):
19291929 with self .assertWarns (DeprecationWarning ) as cm :
19301930 urllib .parse .splituser ('' )
19311931 self .assertEqual (str (cm .warning ),
19321932 'urllib.parse.splituser() is deprecated as of 3.8, '
1933- 'use urllib.parse.urlparse () instead' )
1933+ 'use urllib.parse.urlsplit () instead' )
19341934
19351935 def test_splitpasswd_deprecation (self ):
19361936 with self .assertWarns (DeprecationWarning ) as cm :
19371937 urllib .parse .splitpasswd ('' )
19381938 self .assertEqual (str (cm .warning ),
19391939 'urllib.parse.splitpasswd() is deprecated as of 3.8, '
1940- 'use urllib.parse.urlparse () instead' )
1940+ 'use urllib.parse.urlsplit () instead' )
19411941
19421942 def test_splitport_deprecation (self ):
19431943 with self .assertWarns (DeprecationWarning ) as cm :
19441944 urllib .parse .splitport ('' )
19451945 self .assertEqual (str (cm .warning ),
19461946 'urllib.parse.splitport() is deprecated as of 3.8, '
1947- 'use urllib.parse.urlparse () instead' )
1947+ 'use urllib.parse.urlsplit () instead' )
19481948
19491949 def test_splitnport_deprecation (self ):
19501950 with self .assertWarns (DeprecationWarning ) as cm :
19511951 urllib .parse .splitnport ('' )
19521952 self .assertEqual (str (cm .warning ),
19531953 'urllib.parse.splitnport() is deprecated as of 3.8, '
1954- 'use urllib.parse.urlparse () instead' )
1954+ 'use urllib.parse.urlsplit () instead' )
19551955
19561956 def test_splitquery_deprecation (self ):
19571957 with self .assertWarns (DeprecationWarning ) as cm :
19581958 urllib .parse .splitquery ('' )
19591959 self .assertEqual (str (cm .warning ),
19601960 'urllib.parse.splitquery() is deprecated as of 3.8, '
1961- 'use urllib.parse.urlparse () instead' )
1961+ 'use urllib.parse.urlsplit () instead' )
19621962
19631963 def test_splittag_deprecation (self ):
19641964 with self .assertWarns (DeprecationWarning ) as cm :
19651965 urllib .parse .splittag ('' )
19661966 self .assertEqual (str (cm .warning ),
19671967 'urllib.parse.splittag() is deprecated as of 3.8, '
1968- 'use urllib.parse.urlparse () instead' )
1968+ 'use urllib.parse.urlsplit () instead' )
19691969
19701970 def test_splitattr_deprecation (self ):
19711971 with self .assertWarns (DeprecationWarning ) as cm :
19721972 urllib .parse .splitattr ('' )
19731973 self .assertEqual (str (cm .warning ),
19741974 'urllib.parse.splitattr() is deprecated as of 3.8, '
1975- 'use urllib.parse.urlparse () instead' )
1975+ 'use urllib.parse.urlsplit () instead' )
19761976
19771977 def test_splitvalue_deprecation (self ):
19781978 with self .assertWarns (DeprecationWarning ) as cm :
0 commit comments