test_install : removed commented code

This commit is contained in:
alalazo 2016-07-22 18:14:36 +02:00
parent adffba5081
commit 00d7fd8e21

View file

@ -22,11 +22,10 @@
# License along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
##############################################################################
import StringIO
import collections
from contextlib import contextmanager
import StringIO
FILE_REGISTRY = collections.defaultdict(StringIO.StringIO)
# Monkey-patch open to write module files to a StringIO instance
@ -45,7 +44,6 @@ def mock_open(filename, mode):
handle.close()
import os
import itertools
import unittest
import spack
@ -88,10 +86,6 @@ def traverse(self, order=None):
for _, spec in self._dependencies.items():
yield spec.spec
yield self
#from_iterable = itertools.chain.from_iterable
#allDeps = from_iterable(i.traverse()
# for i in self.dependencies())
#return set(itertools.chain([self], allDeps))
def dag_hash(self):
return self.hash