'Setup a test source tree and output destination tree.'

def setup_test_source_trees(self):

    self.temp_dir = tempfile.mkdtemp()
    self.py2_src_dir = os.path.join(self.temp_dir, 'python2_project')
    self.py3_dest_dir = os.path.join(self.temp_dir, 'python3_project')
    os.mkdir(self.py2_src_dir)
    os.mkdir(self.py3_dest_dir)
    self.setup_files = []
    open(os.path.join(self.py2_src_dir, '__init__.py'), 'w').close()
    self.setup_files.append('__init__.py')
    shutil.copy(PY2_TEST_MODULE, self.py2_src_dir)
    self.setup_files.append(os.path.basename(PY2_TEST_MODULE))
    self.trivial_py2_file = os.path.join(self.py2_src_dir, 'trivial.py')
    self.init_py2_file = os.path.join(self.py2_src_dir, '__init__.py')
    with open(self.trivial_py2_file, 'w') as trivial:
        trivial.write("print    'I    need    a    simple    conversion.'")
    self.setup_files.append('trivial.py')
