diff options
author | Georg Brandl <georg@python.org> | 2019-05-06 16:18:56 +0200 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2019-11-10 10:15:13 +0100 |
commit | a281ff8367a3a5f4cc17c9956e9273593558d336 (patch) | |
tree | ee145581327104377a6d079d2c3ec5c1e188bf7d /tests/test_perllexer.py | |
parent | a41f232a0aa9f2b435e54a7e247c858a8f2d7fa8 (diff) | |
download | pygments-git-a281ff8367a3a5f4cc17c9956e9273593558d336.tar.gz |
Cleanup test modules, more pytest-like testing.
Diffstat (limited to 'tests/test_perllexer.py')
-rw-r--r-- | tests/test_perllexer.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/test_perllexer.py b/tests/test_perllexer.py index 30f9eca8..8e5af3e5 100644 --- a/tests/test_perllexer.py +++ b/tests/test_perllexer.py @@ -124,10 +124,6 @@ class RunawayRegexTest(unittest.TestCase): self.assert_single_token(r's<aaa>', String.Regex) self.assert_fast_tokenization('s<' + '\\'*999) - def test_substitution_with_angle_bracket(self): - self.assert_single_token(r's<aaa>', String.Regex) - self.assert_fast_tokenization('s<' + '\\'*999) - def test_substitution_with_square_bracket(self): self.assert_single_token(r's[aaa]', String.Regex) self.assert_fast_tokenization('s[' + '\\'*999) @@ -154,4 +150,3 @@ class RunawayRegexTest(unittest.TestCase): self.assert_tokens(['require', ' ', 'Foo'], [Keyword, Text, Name.Namespace]) self.assert_tokens(['require', ' ', 'Foo::Bar'], [Keyword, Text, Name.Namespace]) self.assert_tokens(['require', ' ', '"Foo/Bar.pm"'], [Keyword, Text, String]) - |