X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/5fe6d48fcd687a972278048d3bfeec9e2040ed64..33e3bb1e4e326713f85749705179da2e31520670:/tests/test_black.py?ds=sidebyside diff --git a/tests/test_black.py b/tests/test_black.py index 91d1058..202fe23 100644 --- a/tests/test_black.py +++ b/tests/test_black.py @@ -940,8 +940,8 @@ class BlackTestCase(BlackBaseTestCase): self.assertFormatEqual("j = [1, 2, 3]", "j = [1, 2, 3,]") out_str = "".join(out_lines) - self.assertTrue("Expected tree:" in out_str) - self.assertTrue("Actual tree:" in out_str) + self.assertIn("Expected tree:", out_str) + self.assertIn("Actual tree:", out_str) self.assertEqual("".join(err_lines), "") @event_loop()