mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
testSetupInstallRoot will be always skipped, because of "wrong" location of 'setup.py';
This commit is contained in:
parent
c5b5695eb9
commit
d62b046704
1 changed files with 1 additions and 1 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Reference in a new issue