def test_args_to_str(self):
    self.assertEqual(args_to_str(['foo', 'ba/r', '-baz', '2 be', '']), ("foo ba/r -baz '2 be' ''" if (compat_os_name != 'nt') else 'foo ba/r -baz "2 be" ""'))
def test_args_to_str(self):
    self.assertEqual(args_to_str(['foo', 'ba/r', '-baz', '2 be', ]), ("foo ba/r -baz '2 be' " if (compat_os_name != 'nt') else 'foo ba/r -baz "2 be" '))