Skip to content

Commit

Permalink
[test_compat] Avoid None values for compat_setenv
Browse files Browse the repository at this point in the history
  • Loading branch information
dstftw committed May 9, 2016
1 parent 1292638 commit 20cfdcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 20cfdcc

Please sign in to comment.