Skip to content

Commit eb03fd3

Browse files
author
Sky NSS
committed
fix to test case - had checked in wrong one
1 parent d359b2d commit eb03fd3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pandas/tests/test_common.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,8 @@ def test_write_fspath_hdf5(self):
192192

193193
@pytest.mark.parametrize('url, uname, pwd, nurl', [
194194
('https://a1:[email protected]:101/f.csv',
195-
'aaa',
196-
'bbb',
195+
'a1',
196+
'b1',
197197
'https://cc.com:101/f.csv'
198198
),
199199
('https://ccc.com:1010/aaa.txt',
@@ -203,7 +203,7 @@ def test_write_fspath_hdf5(self):
203203
),
204204
])
205205
def test_split_url_extract_uname_pwd(self, url, uname, pwd, nurl):
206-
un, pw, ur = common.split_uname_from_url(url)
206+
(un, pw), ur = common.split_auth_from_url(url)
207207
assert ur == nurl
208208
assert un == uname
209209
assert pw == pwd

0 commit comments

Comments
 (0)