testSetupInstallRoot will be always skipped, because of "wrong" location of 'setup.py';

pull/879/head
sebres 2014-12-03 14:45:46 +01:00
parent c5b5695eb9
commit d62b046704
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ def recursive_glob(treeroot, pattern):
class SetupTest(unittest.TestCase):
def setUp(self):
setup = os.path.join(os.path.dirname(__file__), '..', 'setup.py')
setup = os.path.join(os.path.dirname(__file__), '..', '..', 'setup.py')
self.setup = os.path.exists(setup) and setup or None
if not self.setup and sys.version_info >= (2,7): # running not out of the source
raise unittest.SkipTest(