diff options
author | Daniel Kutik <daniel.kutik@lavawerk.com> | 2023-08-15 15:59:07 +0200 |
---|---|---|
committer | LUCI <gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2023-09-13 18:24:04 +0000 |
commit | 880c621dc641e3b27233199f6cd3a9438fdf73ab (patch) | |
tree | a51ef770d6d1a0b6c03892ac2cc37e434d9c23ba /subcmds/download.py | |
parent | da6ae1da8b057220d6b14d684e35a7b08068c935 (diff) | |
download | git-repo-880c621dc641e3b27233199f6cd3a9438fdf73ab.tar.gz |
tests: test_subcmds_sync.py: fix for py3.6 & 3.7
tests/test_subcmds_sync.py::LocalSyncState::test_prune_removed_projects
was failing in Python 3.6 and 3.7 due to topdir not being set with the
following error message:
TypeError: expected str, bytes or os.PathLike object, not MagicMock
topdir is accessed from within PruneRemovedProjects().
Test: tox with Python 3.6 to 3.11
Change-Id: I7ba5144df0a0126c01776384e2178136c3510091
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/382816
Reviewed-by: Mike Frysinger <vapier@google.com>
Commit-Queue: Daniel Kutik <daniel.kutik@lavawerk.com>
Tested-by: Daniel Kutik <daniel.kutik@lavawerk.com>
Diffstat (limited to 'subcmds/download.py')
0 files changed, 0 insertions, 0 deletions