Browse Source

Re-enable context diff related tests

Matthew Wang 11 years ago
parent
commit
91c9df1f4e
2 changed files with 1 additions and 2 deletions
  1. 0
    0
      tests/context/in.diff
  2. 1
    2
      tests/test_cdiff.py

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


+ 1
- 2
tests/test_cdiff.py View File

435
         parser = cdiff.DiffParser(stream)
435
         parser = cdiff.DiffParser(stream)
436
         self.assertEqual(parser._type, 'unified')
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
         patch = """\
439
         patch = """\
441
 *** /path/to/original timestamp
440
 *** /path/to/original timestamp
442
 --- /path/to/new timestamp
441
 --- /path/to/new timestamp