diff options
author | Didier Raboud <odyx@debian.org> | 2016-11-25 15:46:14 +0100 |
---|---|---|
committer | Didier Raboud <odyx@debian.org> | 2016-11-25 15:56:50 +0100 |
commit | 723a1a2fb24b39da53514da3e0e90dc251ccdae3 (patch) | |
tree | 6ef0a9608c5f5ad221b00fa50927e1055f7e4031 /test | |
parent | 88f7c8db56684b9d40a247237f703701885933ff (diff) |
Fix regressions on python2
Closes: #845489
Diffstat (limited to 'test')
-rw-r--r-- | test/test_lsb_release.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_lsb_release.py b/test/test_lsb_release.py index 082bea3..478380d 100644 --- a/test/test_lsb_release.py +++ b/test/test_lsb_release.py @@ -135,7 +135,7 @@ class TestLSBRelease(unittest.TestCase): self.assertEqual(lr.parse_apt_policy(),supposed_output) # Add a third fake entry, unordered, with non-ascii chars (#675618) os.environ['TEST_APT_CACHE3'] = '754' - supposed_output.append((754, {'origin': 'Jérôme Helvète', 'suite': '5uiTe', 'component': 'C03p0nent', 'label': '1ABel'})) + supposed_output.append((754, {'origin': u'Jérôme Helvète', 'suite': '5uiTe', 'component': 'C03p0nent', 'label': '1ABel'})) self.assertEqual(lr.parse_apt_policy(),supposed_output) os.environ.pop('TEST_APT_CACHE1') os.environ.pop('TEST_APT_CACHE2') |