Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
serge-sans-paille committed Oct 15, 2023
1 parent f072fba commit 2141e39
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions pythran/tests/test_distutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,13 +134,12 @@ def test_setup_build3(self):
if not os.path.isdir(libdir):
libdir = os.path.join(base, 'lib64')

demo_dir_candidates = glob.glob(os.path.join(libdir, python_version,
demo_candidates = glob.glob(os.path.join(libdir, python_version,
'site-packages',
'demo3*'))
demo_dir = [d for d in demo_dir_candidates if os.path.isdir(d)][0]
'demo3*', 'a.*'))

self.assertTrue(demo_candidates)

check_call([python, '-c', 'import a'],
cwd=demo_dir)
check_call([python, 'setup.py', 'clean'],
cwd=os.path.join(cwd, 'test_distutils_numpy'))
shutil.rmtree(os.path.join(cwd, 'test_distutils_numpy', 'demo_install3'))
Expand Down

0 comments on commit 2141e39

Please sign in to comment.