def test_no_synthetic_resources_in_output(self):
    self.add_to_build_file('BUILD', dedent("""
    python_library(
      name = 'lib',
      resources = ['BUILD'],
    )
    """))
    output = self.execute_console_task()
    self.assertIn('//:lib', output)
    self.assertTrue(all(line not in 'synthetic' for line in output))
dataset/ETHPy150Open pantsbuild/pants/tests/python/pants_test/backend/graph_info/tasks/test_listtargets.py/ListTargetsTest.test_no_synthetic_resources_in_output/swapped operands of `not in`