UPD: first little 2to3 migration steps.
This commit is contained in:
@@ -281,7 +281,7 @@ class ScreenshotTestCase(SeleniumTestCase):
|
||||
)
|
||||
path = os.path.join(self.screenshot_path, self.sanitize_filename(base_name))
|
||||
if not os.path.isdir(self.screenshot_path):
|
||||
os.makedirs(self.screenshot_path, 0700)
|
||||
os.makedirs(self.screenshot_path, 0o700)
|
||||
|
||||
restore_size = False
|
||||
if resize:
|
||||
|
||||
Reference in New Issue
Block a user