mirror of
https://github.com/beetbox/beets.git
synced 2025-12-29 12:02:44 +01:00
Skip an unhelpful test on Windows
On Windows, converting command-line arguments (hopefully!!!) only needs to deal with valid strings from the OS. So it is not really relevant to test with non-UTF-8, non-surrogate bytes.
This commit is contained in:
parent
086bab55b1
commit
8baf3e302d
1 changed files with 1 additions and 0 deletions
|
|
@ -101,6 +101,7 @@ class UtilTest(unittest.TestCase):
|
|||
])
|
||||
self.assertEqual(p, 'foo/_/bar')
|
||||
|
||||
@unittest.skipIf(sys.platform == 'win32', 'win32')
|
||||
def test_convert_command_args_keeps_undecodeable_bytes(self):
|
||||
arg = b'\x82' # non-ascii bytes
|
||||
cmd_args = util.convert_command_args([arg])
|
||||
|
|
|
|||
Loading…
Reference in a new issue