(self, dest, item)
| 604 | self.lib.path_formats.insert(0, ("default", fmt)) |
| 605 | |
| 606 | def _assert_dest(self, dest, item): |
| 607 | # Handle paths on Windows. |
| 608 | if os.path.sep != "/": |
| 609 | dest = dest.replace(b"/", os.path.sep.encode()) |
| 610 | |
| 611 | # Paths are normalized based on the CWD. |
| 612 | dest = normpath(dest) |
| 613 | |
| 614 | actual = item.destination() |
| 615 | |
| 616 | assert actual == dest |
| 617 | |
| 618 | |
| 619 | class TestDestinationFunction(TestHelper, PathFormattingMixin): |
no test coverage detected