diff -r 58bd6a58365d Lib/packaging/tests/test_util.py --- a/Lib/packaging/tests/test_util.py Wed Feb 08 04:09:37 2012 +0100 +++ b/Lib/packaging/tests/test_util.py Thu Feb 09 01:26:05 2012 +0200 @@ -173,6 +173,10 @@ sys.stdout = self.old_stdout sys.stderr = self.old_stderr + def test_set_platform(self): + util.set_platform("fake") + self.assertEqual("fake", util.get_platform()) + def test_convert_path(self): # linux/mac os.sep = '/'