summaryrefslogtreecommitdiff
path: root/tests/test_util.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2013-01-09 12:35:45 +0100
committerGeorg Brandl <georg@python.org>2013-01-09 12:35:45 +0100
commit566372919bce8374717f4943815553d8b7068de1 (patch)
treef7d49205ec56418a867d113bd2dfeaea4ec164f2 /tests/test_util.py
parent68a10f38d3814e2292849306a815387c6259ce06 (diff)
downloadpygments-566372919bce8374717f4943815553d8b7068de1.tar.gz
Fix issues found by "make check".
Diffstat (limited to 'tests/test_util.py')
-rw-r--r--tests/test_util.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/test_util.py b/tests/test_util.py
index be1662f9..a26c09af 100644
--- a/tests/test_util.py
+++ b/tests/test_util.py
@@ -98,8 +98,10 @@ class UtilTest(unittest.TestCase):
self.assertTrue(util.shebang_matches('#!C:\\Python2.4\\Python.exe',
r'python(2\.\d)?'))
- self.assertFalse(util.shebang_matches('#!/usr/bin/python-ruby', r'python(2\.\d)?'))
- self.assertFalse(util.shebang_matches('#!/usr/bin/python/ruby', r'python(2\.\d)?'))
+ self.assertFalse(util.shebang_matches('#!/usr/bin/python-ruby',
+ r'python(2\.\d)?'))
+ self.assertFalse(util.shebang_matches('#!/usr/bin/python/ruby',
+ r'python(2\.\d)?'))
self.assertFalse(util.shebang_matches('#!', r'python'))
def test_doctype_matches(self):
@@ -131,4 +133,3 @@ class UtilTest(unittest.TestCase):
m = r.match(first_non_bmp * 2)
self.assertTrue(m)
self.assertEquals(m.end(), len(first_non_bmp) * 2)
-