Skip to content

Commit

Permalink
Placate flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
drhagen committed Jun 7, 2020
1 parent ddd381f commit ff98250
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class TestParsers(GeneralParsers):
self.assertEqual(TestParsers.d.parse('2'), Success('2'))
self.assertEqual(TestParsers.d.parse('23'), Failure('Expected end of source but found 3 at index 1'))
self.assertEqual(TestParsers.d.parse('a'), Failure('Expected digit but found a at index 0'))
self.assertEqual(str(TestParsers.a), "a = pred(any1, letter A)")
self.assertEqual(str(TestParsers.a), 'a = pred(any1, letter A)')


class ForwardDeclarationTestCase(TestCase):
Expand Down Expand Up @@ -412,7 +412,7 @@ class TestParsers(GeneralParsers):

self.assertEqual(TestParsers.any2.parse('ab'), Success(['a', 'b']))
self.assertEqual(TestParsers.any2.parse('a'), Failure('Expected anything but found end of source'))
self.assertEqual(str(TestParsers.any2), "any2 = any1 & any1")
self.assertEqual(str(TestParsers.any2), 'any2 = any1 & any1')


class OptionsResetTest(TestCase):
Expand Down

0 comments on commit ff98250

Please sign in to comment.