We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e7370ce commit 819e54aCopy full SHA for 819e54a
1 file changed
tests/test_uninstall_command.py
@@ -16,7 +16,7 @@ def test_purge_global_dir(monkeypatch, registry, tmp_path):
16
UC._do_purge_global_dir(tmp_path, "SLOW WARNING", hive=registry.hive, subkey=registry.root)
17
assert registry.getvalueandkind("", "Path") == (
18
rf"C:\A;{tmp_path}\X;C:\B;%PTH%;C:\%D%\E", winreg.REG_SZ)
19
- assert not list(tmp_path.iterdir())
+ assert not tmp_path.is_dir() or not list(tmp_path.iterdir())
20
21
22
def test_null_purge(fake_config):
0 commit comments