summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_support.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/Lib/test/test_support.py b/Lib/test/test_support.py
index 478c845..3839c79 100644
--- a/Lib/test/test_support.py
+++ b/Lib/test/test_support.py
@@ -44,12 +44,12 @@ from os import unlink
def findfile(file, here=__file__):
import os
- if os.path.isabs(file):
+ if os.path.isabs(file):
return file
- import sys
- path = sys.path
+ import sys
+ path = sys.path
path = [os.path.dirname(here)] + path
- for dn in path:
- fn = os.path.join(dn, file)
- if os.path.exists(fn): return fn
- return file
+ for dn in path:
+ fn = os.path.join(dn, file)
+ if os.path.exists(fn): return fn
+ return file