X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/788268bc39a87d37a24d203fa5ee7b3953af3446..cb6f2198b8fc700f8cc0d36c338d613e509250f8:/tests/test_black.py diff --git a/tests/test_black.py b/tests/test_black.py index 7793b0e..f89f140 100644 --- a/tests/test_black.py +++ b/tests/test_black.py @@ -2062,7 +2062,7 @@ class BlackDTestCase(AioHTTPTestCase): self.assertIsNotNone(response.headers.get(blackd.BLACK_VERSION_HEADER)) -with open(black.__file__, "r") as _bf: +with open(black.__file__, "r", encoding="utf-8") as _bf: black_source_lines = _bf.readlines()