Skip to content

Commit

Permalink
refractor
Browse files Browse the repository at this point in the history
  • Loading branch information
bitranox committed Aug 15, 2020
1 parent f60e27c commit 97e031d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/test_pytest.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,10 +178,7 @@ def test_shutil_ignore_function():
ignore_parser = igittigitt.IgnoreParser()
ignore_parser.parse_rule_files(base_dir=path_source_dir, filename=".test_gitignore")
shutil.copytree(
path_source_dir,
path_target_dir,
ignore=ignore_parser.shutil_ignore,
dirs_exist_ok=True,
path_source_dir, path_target_dir, ignore=ignore_parser.shutil_ignore,
)

assert len(list(path_target_dir.glob("**/*"))) == 8
Expand Down

0 comments on commit 97e031d

Please sign in to comment.