Skip to content

Commit

Permalink
Add missing import
Browse files Browse the repository at this point in the history
  • Loading branch information
itziakos committed Feb 22, 2025
1 parent 53031dd commit 3072ce8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions cpython-tests/3.12/test_zipfile/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
captured_stdout, captured_stderr, requires_subprocess
)
from test.support.os_helper import (
TESTFN, unlink, rmtree, temp_dir, temp_cwd, fd_count, FakePath
TESTFN, unlink, rmtree, temp_dir, temp_cwd, fd_count, FakePath,
skip_unless_symlink
)


Expand Down Expand Up @@ -1751,11 +1752,11 @@ def open(self, path):
def extractall(self, ar):
ar.extractall(self.testdir)

@os_helper.skip_unless_symlink
@skip_unless_symlink
def test_overwrite_file_symlink_as_file(self):
self.skipTest('Zipfile2 will overwrite symlinks with a real file')

@os_helper.skip_unless_symlink
@skip_unless_symlink
def test_overwrite_broken_file_symlink_as_file(self):
self.skipTest('Zipfile2 will overwrite symlinks with a real file')

Expand Down

0 comments on commit 3072ce8

Please sign in to comment.