mirror of https://github.com/pypa/pip
Add comments
This commit is contained in:
parent
4f35981085
commit
1a87e577d0
|
@ -134,6 +134,10 @@ class ListCommand(Command):
|
|||
include_editables=options.include_editable,
|
||||
)
|
||||
|
||||
# get_not_required must be called firstly in order to find and
|
||||
# filter out all dependencies correctly. Otherwise a package
|
||||
# can't be identified as requirement because some parent packages
|
||||
# could be filtered out before.
|
||||
if options.not_required:
|
||||
packages = self.get_not_required(packages, options)
|
||||
|
||||
|
|
|
@ -384,7 +384,6 @@ def test_outdated_editables_columns_flag(script, data):
|
|||
)
|
||||
|
||||
|
||||
@pytest.mark.network
|
||||
def test_outdated_not_required_flag(script, data):
|
||||
"""
|
||||
test the behavior of --outdated --not-required flag in the list command
|
||||
|
|
Loading…
Reference in New Issue