mirror of
https://github.com/bndr/pipreqs.git
synced 2025-06-06 03:25:21 +00:00
fix(test_pipreqs): fix 2.6 python test
This commit is contained in:
parent
8d7b7f6d1c
commit
7170843913
@ -107,8 +107,7 @@ class TestPipreqs(unittest.TestCase):
|
||||
|
||||
|
||||
def test_custom_pypi_server(self):
|
||||
with self.assertRaises(requests.exceptions.MissingSchema):
|
||||
pipreqs.init({'<path>': self.project, '--savepath': None,
|
||||
self.assertRaises(requests.exceptions.MissingSchema, pipreqs.init, {'<path>': self.project, '--savepath': None,
|
||||
'--use-local': None, '--force': True, '--proxy':None, '--pypi-server':'nonexistent'})
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user