summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_dl.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_dl.py')
-rwxr-xr-xLib/test/test_dl.py26
1 files changed, 13 insertions, 13 deletions
diff --git a/Lib/test/test_dl.py b/Lib/test/test_dl.py
index 029196d..e7902cc 100755
--- a/Lib/test/test_dl.py
+++ b/Lib/test/test_dl.py
@@ -12,20 +12,20 @@ sharedlibs = [
for s, func in sharedlibs:
try:
- if verbose:
- print 'trying to open:', s,
- l = dl.open(s)
+ if verbose:
+ print 'trying to open:', s,
+ l = dl.open(s)
except dl.error:
- if verbose:
- print 'failed'
- pass
+ if verbose:
+ print 'failed'
+ pass
else:
- if verbose:
- print 'succeeded...',
- l.call(func)
- l.close()
- if verbose:
- print 'worked!'
- break
+ if verbose:
+ print 'succeeded...',
+ l.call(func)
+ l.close()
+ if verbose:
+ print 'worked!'
+ break
else:
print 'Could not open any shared libraries'