1
0
Fork 0
mirror of synced 2025-07-03 11:57:26 +02:00

Do not display control characters in output

Kudos to Sherry Taylor for reporting this issue ♥
This commit is contained in:
jvoisin 2018-11-07 21:54:34 +01:00
parent 04bb8c8ccf
commit 8ff57c5803
2 changed files with 11 additions and 1 deletions

View file

@ -121,7 +121,7 @@ class TestGetMeta(unittest.TestCase):
proc = subprocess.Popen(mat2_binary + ['--show', './tests/data/dirty.pdf'],
stdout=subprocess.PIPE)
stdout, _ = proc.communicate()
self.assertIn(b'producer: pdfTeX-1.40.14', stdout)
self.assertIn(b'Producer: pdfTeX-1.40.14', stdout)
def test_png(self):
proc = subprocess.Popen(mat2_binary + ['--show', './tests/data/dirty.png'],