File: remove-failing-tests-when-LANG-equal-C.patch

package info (click to toggle)
sphinxcontrib-programoutput 0.11-3.1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 240 kB
  • sloc: python: 745; makefile: 33
file content (25 lines) | stat: -rw-r--r-- 910 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Description: Remove tests failing when LANG=C
Author: Thomas Goirand <zigo@debian.org>
Bug-Debian: https://bugs.debian.org/880909
Forwarded: no
Last-Update: 2017-11-09

--- sphinxcontrib-programoutput-0.11.orig/src/sphinxcontrib/programoutput/tests/test_cache.py
+++ sphinxcontrib-programoutput-0.11/src/sphinxcontrib/programoutput/tests/test_cache.py
@@ -43,16 +43,6 @@ class TestCache(AppMixin,
         self.assertEqual(cache[cmd], result)
         self.assertEqual(cache, {cmd: result})
 
-    def test_simple(self):
-        cache = ProgramOutputCache()
-        self.assert_cache(cache, Command([u'echo', u'blök']), u'blök')
-
-
-    def test_shell(self):
-        cache = ProgramOutputCache()
-        self.assert_cache(cache, Command(u'echo blök', shell=True), u'blök')
-
-
     def test_working_directory(self):
         cache = ProgramOutputCache()
         cwd = os.path.join(self.tmpdir, 'wd')