mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-21 20:46:36 -05:00
[test_compat] Avoid None values for compat_setenv
This commit is contained in:
parent
1292638754
commit
20cfdcc910
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ def test_compat_expanduser(self):
|
|||
test_str = 'C:\Documents and Settings\тест\Application Data'
|
||||
compat_setenv('HOME', test_str)
|
||||
self.assertEqual(compat_expanduser('~'), test_str)
|
||||
compat_setenv('HOME', old_home)
|
||||
compat_setenv('HOME', old_home or '')
|
||||
|
||||
def test_all_present(self):
|
||||
import youtube_dl.compat
|
||||
|
|
Loading…
Reference in a new issue