Skip to content

Commit

Permalink
Update test_basic.py
Browse files Browse the repository at this point in the history
  • Loading branch information
pfernique committed Oct 8, 2017
1 parent d1fc324 commit 7c6a2b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def setUpClass(cls):
autowig.parser.plugin = 'libclang'
autowig.generator.plugin = 'boost_python_internal'
cls.srcdir = Path('fp17')
cls.prefix = Path(sys.prefix).abspath()
cls.prefix = Path(Path(sys.prefix).abspath())
if any(platform.win32_ver()):
cls.prefix = os.path.join(cls.prefix, 'Library')
Repo.clone_from('https://github.com/StatisKit/FP17.git', cls.srcdir.relpath('.'))
Expand All @@ -35,7 +35,7 @@ def setUpClass(cls):
cls.scons = subprocess.check_output(['which', 'scons']).strip()
subprocess.check_output([cls.scons, 'cpp', '--prefix=' + str(cls.prefix)],
cwd=cls.srcdir)
cls.incdir = cls.prefix.abspath()/'include'/'basic'
cls.incdir = cls.prefix/'include'/'basic'

def test_mapping_export(self):
"""Test `mapping` export"""
Expand Down

0 comments on commit 7c6a2b5

Please sign in to comment.