Skip to content

Commit

Permalink
Mark unused code as uncovered.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Aug 26, 2024
1 parent fde82dc commit bec712f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_path.py
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,7 @@ def for_name(cls, name, archive):
self = cls(filename=name, date_time=time.localtime(time.time())[:6])
self.compress_type = archive.compression
self.compress_level = archive.compresslevel
if self.filename.endswith('/'):
if self.filename.endswith('/'): # pragma: no cover
self.external_attr = 0o40775 << 16 # drwxrwxr-x
self.external_attr |= 0x10 # MS-DOS directory flag
else:
Expand Down

0 comments on commit bec712f

Please sign in to comment.