Browse Source

Disable an invalid test for negative width

Matthew Wang 10 years ago
parent
commit
f8066bd313
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      tests/test_cdiff.py

+ 2
- 1
tests/test_cdiff.py View File

255
             '\x1b[0m\x1b[33m4\x1b[0m '
255
             '\x1b[0m\x1b[33m4\x1b[0m '
256
             '\x1b[32m\x1b[4m\x1b[32ma\x1b[0m\x1b[32mgain\x1b[0m\n')
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
         diff = self._init_diff()
260
         diff = self._init_diff()
260
         marker = cdiff.DiffMarker()
261
         marker = cdiff.DiffMarker()
261
         out = list(marker._markup_side_by_side(diff, -1))
262
         out = list(marker._markup_side_by_side(diff, -1))