def test_deduplicate_dependencies(self):
        imports = pipreqs.get_all_imports(self.project_with_duplicated_deps)
        pkgs = pipreqs.get_pkg_names(imports)
        self.assertEqual(len(pkgs), 1)
        self.assertTrue(pkgs in "pymongo")
dataset/ETHPy150Open bndr/pipreqs/tests/test_pipreqs.py/TestPipreqs.test_deduplicate_dependencies/swapped operands of `in`