Traceback (most recent call last):


 "D:\Sources\dulwich\dulwich\tests\compat\test_client.py", line 195, in test_archive

c.archive(self._build_path(b'/server_new.export'), b'HEAD', f.write)


 "D:\Sources\dulwich\dulwich\client.py", line 637, in archive

proto, can_read = self._connect(b'upload-archive', path)


 "D:\Sources\dulwich\dulwich\client.py", line 1013, in _connect

self.host, argv, port=self.port, username=self.username)


 "D:\Sources\dulwich\dulwich\tests\compat\test_client.py", line 326, in run_command

stdout=subprocess.PIPE, stderr=subprocess.PIPE)


 "C:\Python36-32\lib\subprocess.py", line 707, in __init__

restore_signals, start_new_session)


 "C:\Python36-32\lib\subprocess.py", line 964, in _execute_child

args = list2cmdline(args)


 "C:\Python36-32\lib\subprocess.py", line 461, in list2cmdline

needquote = (" " in arg) or ("\t" in arg) or not arg
TypeError: a bytes-like object is required, not 'str'

Traceback (most recent call last):


 "<stdin>", line 1, in <module>


 "d:\path\to\development\folder\matplotlib\lib\matplotlib\animation.py", line 727, in <module>

class ImageMagickWriter(ImageMagickBase, MovieWriter):


 "d:\path\to\development\folder\matplotlib\lib\matplotlib\animation.py", line 120, in wrapper

if writerClass.isAvailable():


 "d:\path\to\development\folder\matplotlib\lib\matplotlib\animation.py", line 720, in isAvailable

return super().isAvailable()


 "d:\path\to\development\folder\matplotlib\lib\matplotlib\animation.py", line 417, in isAvailable

return shutil.which(cls.bin_path()) is not None


 "d:\path\to\development\folder\matplotlib\lib\matplotlib\animation.py", line 714, in bin_path

binpath = mpl._get_executable_info('magick').executable


 "d:\path\to\development\folder\matplotlib\lib\matplotlib\__init__.py", line 380, in _get_executable_info

return impl([path, "--version"], r"^Version: ImageMagick (\S*)")


 "d:\path\to\development\folder\matplotlib\lib\matplotlib\__init__.py", line 325, in impl

args, stderr=subprocess.STDOUT, universal_newlines=True)


 "D:\path\to\conda\envs\mplgit\lib\subprocess.py", line 336, in check_output

**kwargs).stdout


 "D:\path\to\conda\envs\mplgit\lib\subprocess.py", line 403, in run

with Popen(*popenargs, **kwargs) as process:


 "D:\path\to\conda\envs\mplgit\lib\subprocess.py", line 709, in __init__

restore_signals, start_new_session)


 "D:\path\to\conda\envs\mplgit\lib\subprocess.py", line 971, in _execute_child

args = list2cmdline(args)


 "D:\path\to\conda\envs\mplgit\lib\subprocess.py", line 461, in list2cmdline

needquote = (" " in arg) or ("\t" in arg) or not arg
TypeError: argument of type 'WindowsPath' is not iterable
