X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/92eeacc2e3ce917d6364ec06d891436f11536a1c..fb1d1b2fc85efe422b6ff32d05f537d5394f6259:/tests/test_primer.py?ds=sidebyside diff --git a/tests/test_primer.py b/tests/test_primer.py index 9bb4015..0a9d2ae 100644 --- a/tests/test_primer.py +++ b/tests/test_primer.py @@ -181,7 +181,7 @@ class PrimerLibTests(unittest.TestCase): stdout, stderr = loop.run_until_complete( lib._gen_check_output([lib.BLACK_BINARY, "--help"]) ) - self.assertTrue("The uncompromising code formatter" in stdout.decode("utf8")) + self.assertIn("The uncompromising code formatter", stdout.decode("utf8")) self.assertEqual(None, stderr) # TODO: Add a test to see failure works on Windows