Sfoglia il codice sorgente

Re-enable context diff related tests

Matthew Wang 11 anni fa
parent
commit
91c9df1f4e
2 ha cambiato i file con 1 aggiunte e 2 eliminazioni
  1. 0
    0
      tests/context/in.diff
  2. 1
    2
      tests/test_cdiff.py

tests/context/in.diff.orig → tests/context/in.diff Vedi File


+ 1
- 2
tests/test_cdiff.py Vedi File

@@ -435,8 +435,7 @@ spam
435 435
         parser = cdiff.DiffParser(stream)
436 436
         self.assertEqual(parser._type, 'unified')
437 437
 
438
-    # Note @unittest.skip() not available for python < 2.7
439
-    def SKIP_test_type_detect_context(self):
438
+    def test_type_detect_context(self):
440 439
         patch = """\
441 440
 *** /path/to/original timestamp
442 441
 --- /path/to/new timestamp