Sfoglia il codice sorgente

Disable an invalid test for negative width

Matthew Wang 10 anni fa
parent
commit
f8066bd313
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2
    1
      tests/test_cdiff.py

+ 2
- 1
tests/test_cdiff.py Vedi File

@@ -255,7 +255,8 @@ class DiffMarkupTest(unittest.TestCase):
255 255
             '\x1b[0m\x1b[33m4\x1b[0m '
256 256
             '\x1b[32m\x1b[4m\x1b[32ma\x1b[0m\x1b[32mgain\x1b[0m\n')
257 257
 
258
-    def test_markup_side_by_side_neg_width(self):
258
+    # This test is not valid anymore
259
+    def __test_markup_side_by_side_neg_width(self):
259 260
         diff = self._init_diff()
260 261
         marker = cdiff.DiffMarker()
261 262
         out = list(marker._markup_side_by_side(diff, -1))