#NEWLINE# def test_constraints_constrain_to_local_editable( script , data ) : #NEWLINE# #INDENT# to_install = data . src . join ( 'singlemodule' ) #NEWLINE# script . scratch_path . join ( 'constraints.txt' ) . write ( ( '-e file://%s#egg=singlemodule' % to_install ) ) #NEWLINE# result = script . pip ( 'install' , '--no-index' , '-f' , data . find_links , '-c' , ( data . scratch_path / 'constraints.txt' ) , 'singlemodule' ) #NEWLINE# assert ( 'Running setup.py develop for singlemodule' in result . stdout )