We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9eae252 commit af539d8Copy full SHA for af539d8
1 file changed
test/core/run.py
@@ -113,8 +113,7 @@ def _runTestFile(self, inputPath):
113
114
115
if __name__ == "__main__":
116
- if not os.path.exists(outputDir):
117
- os.makedirs(outputDir)
+ os.makedirs(outputDir, exist_ok=True)
118
for fileName in inputFiles:
119
testName = 'test ' + os.path.basename(fileName)
120
setattr(RunTests, testName, lambda self, file=fileName: self._runTestFile(file))
0 commit comments