From 632240c01ce5ee9f670453eef8b647d69271580c Mon Sep 17 00:00:00 2001 From: Johnny Robeson Date: Mon, 5 Sep 2016 22:57:38 -0400 Subject: [PATCH] s/linux2/linux/ as platform name in test_library This causes no issues for us now, and is more forward compatible. --- test/test_library.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_library.py b/test/test_library.py index 4265f6d1a..395a811aa 100644 --- a/test/test_library.py +++ b/test/test_library.py @@ -392,7 +392,7 @@ class DestinationTest(_common.TestCase): def test_unicode_normalized_nfc_on_linux(self): instr = unicodedata.normalize('NFD', u'caf\xe9') self.lib.path_formats = [(u'default', instr)] - dest = self.i.destination(platform='linux2', fragment=True) + dest = self.i.destination(platform='linux', fragment=True) self.assertEqual(dest, unicodedata.normalize('NFC', instr)) def test_non_mbcs_characters_on_windows(self): @@ -411,7 +411,7 @@ class DestinationTest(_common.TestCase): def test_unicode_extension_in_fragment(self): self.lib.path_formats = [(u'default', u'foo')] self.i.path = util.bytestring_path(u'bar.caf\xe9') - dest = self.i.destination(platform='linux2', fragment=True) + dest = self.i.destination(platform='linux', fragment=True) self.assertEqual(dest, u'foo.caf\xe9') def test_asciify_and_replace(self):