We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent addefe9 commit 2bf0b6aCopy full SHA for 2bf0b6a
1 file changed
scripts/update_lib/tests/test_patch_spec.py
@@ -349,6 +349,7 @@ def test_round_trip_with_patches_on_class(self):
349
"""Test that extracted patches can be re-applied."""
350
original = f"""import unittest
351
352
+@unittest.skipIf(a == b, "{COMMENT}")
353
@unittest.expectedFailure # {COMMENT}
354
class TestFoo(unittest.TestCase):
355
...
@@ -367,6 +368,7 @@ def test_one(self):
367
368
369
# Should have the decorator
370
self.assertIn("@unittest.expectedFailure", result)
371
+ self.assertIn("@unittest.skipIf", result)
372
self.assertIn(COMMENT, result)
373
374
0 commit comments