
import sys
sys.path.append('../src')

import drake

drake.run('..')


import os
import sys

sys.path.append('../src')
if 'PYTHONPATH' in os.environ:
  os.environ['PYTHONPATH'] = '../src:%s' % os.environ['PYTHONPATH']
else:
  os.environ['PYTHONPATH'] = '../src'

import drake

drake.run('..')

Add drake in the PYTHONPATH for the tests.
Add drake in the PYTHONPATH for the tests.

  
+ import os
  import sys
+ 
  sys.path.append('../src')
+ if 'PYTHONPATH' in os.environ:
+   os.environ['PYTHONPATH'] = '../src:%s' % os.environ['PYTHONPATH']
+ else:
+   os.environ['PYTHONPATH'] = '../src'
  
  import drake
  
  drake.run('..')
  
Add drake in the PYTHONPATH for the tests.
## Code Before:

import sys
sys.path.append('../src')

import drake

drake.run('..')

## Instruction:
Add drake in the PYTHONPATH for the tests.
## Code After:

import os
import sys

sys.path.append('../src')
if 'PYTHONPATH' in os.environ:
  os.environ['PYTHONPATH'] = '../src:%s' % os.environ['PYTHONPATH']
else:
  os.environ['PYTHONPATH'] = '../src'

import drake

drake.run('..')
