<s> import sys <EOL> import subprocess <EOL> from subprocess import Popen <EOL> import unittest <EOL> from nose . tools import eq_ <EOL> from tests import PLAYDOH <EOL> class TestInstall ( unittest . TestCase ) : <EOL> def test ( self ) : <EOL> p = Popen ( [ sys . executable , '<STR_LIT>' , '<STR_LIT:test>' ] , <EOL> stderr = subprocess . STDOUT , stdout = subprocess . PIPE , <EOL> cwd = PLAYDOH ) <EOL> print p . stdout . read ( ) <EOL> eq_ ( p . wait ( ) , <NUM_LIT:0> ) </s>
