8000 gh-92670: Skip test_copyfile_nonexistent_dir test on AIX by ayappanec · Pull Request #92718 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-92670: Skip test_copyfile_nonexistent_dir test on AIX #92718

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
May 19, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add reason before skipping test_copyfile_nonexistent_dir on AIX
  • Loading branch information
ayappanec committed May 19, 2022
commit df0c1c0b01626594a2adc4604a252ad42804886c
3 changes: 3 additions & 0 deletions Lib/test/test_shutil.py
Original file line number Diff line number Diff line change
Expand Up @@ -1294,6 +1294,9 @@ def test_copyfile_same_file(self):
self.assertEqual(read_file(src_file), 'foo')

@unittest.skipIf(MACOS or SOLARIS or _winapi, 'On MACOS, Solaris and Windows the errors are not confusing (though different)')
# Issue 92670: The test uses a trailing slash to force the OS consider
# the path as a directory, but on AIX the trailing slash has no effect
# and is considered as a file.
@unittest.skipIf(AIX, 'Not valid on AIX, see issue #92670')
def test_copyfile_nonexistent_dir(self):
# Issue 43219
Expand Down
0