Browse Source

Remove a negative test fails without tty

Matthew Wang 9 years ago
parent
commit
5c28b597e9
1 changed files with 0 additions and 9 deletions
  1. 0
    9
      tests/test_cdiff.py

+ 0
- 9
tests/test_cdiff.py View File

@@ -748,15 +748,6 @@ class MainTest(unittest.TestCase):
748 748
         os.chdir(self._cwd)
749 749
         self.assertEqual(ret, 0)
750 750
 
751
-    def test_read_diff_neg(self):
752
-        sys.argv = sys.argv[:1]
753
-        os.chdir(self._non_ws)
754
-        ret = cdiff.main()
755
-        os.chdir(self._cwd)
756
-        # Travis now runs tests with stdin closed
757
-        if sys.stdin.isatty():
758
-            self.assertNotEqual(ret, 0)
759
-
760 751
     def test_read_log(self):
761 752
         sys.argv = [sys.argv[0], '--log']
762 753
         self._change_file('read_log')