@importorskip('pkg_resources')
def test_pkg_resources_importable(pyi_builder):
 pyi_builder.test_source('\n        import pkg_resources\n        pkg_resources.working_set.require()\n        ')

@ importorskip ( 'pkg_resources' ) def test_pkg_resources_importable ( pyi_builder ) : pyi_builder . test_source ( '\n        import pkg_resources\n        pkg_resources.working_set.require()\n        ' )
check that a trivial example using pkg_resources does build .