Move permission_error_tmpdir skips to test cases · gitpython-developers/GitPython@2fb8c64 · GitHub
Skip to content

Commit 2fb8c64

Browse files
committed
Move permission_error_tmpdir skips to test cases
This moves test skipping logic from the permission_error_tmpdir fixture to the two TestRmtree test case methods that use it. This produces some duplication, which is undesirable, but it makes it so that which tests are skipped under what conditions is immediately clear, easy to identify as skipping logic (which is usually achieved by decoration), and clear in its relationship to the skipping logic associated with other TestRmtree test cases.
1 parent aa1799f commit 2fb8c64

1 file changed

Lines changed: 16 additions & 5 deletions

File tree

test/test_util.py

Lines changed: 16 additions & 5 deletions

0 commit comments

Comments
 (0)