Skip to content

Commit 3106112

Browse files
committed
Fix issues reported by python-lint test.
1 parent 3b784bd commit 3106112

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/swift_test.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,12 @@
1515
# -----------------------------------------------------------------------------
1616

1717
import os
18+
1819
import lit
1920
import lit.formats
2021
import lit.util
2122

23+
2224
class SwiftTest(lit.formats.ShTest, object):
2325
def __init__(self, coverage_mode=None, execute_external=True):
2426
super(SwiftTest, self).__init__(execute_external=execute_external)
@@ -47,7 +49,7 @@ def before_test(self, test, litConfig):
4749
os.path.join(profdir, "swift-%p.profraw")
4850
else:
4951
test.config.environment["LLVM_PROFILE_FILE"] = \
50-
os.path.join(config.swift_test_results_dir,
52+
os.path.join(test.config.swift_test_results_dir,
5153
"swift-%4m.profraw")
5254

5355
def after_test(self, test, litConfig, result):

0 commit comments

Comments
 (0)