Skip to content

Commit

Permalink
Fixed line-too-long linting issue in Python 2.7.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 339900581
Change-Id: Ibedaed45ffca68f8b12344f8905b4ff379c6e589
  • Loading branch information
jacobaustin123 authored and copybara-github committed Oct 30, 2020
1 parent fea0be7 commit 3be260e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fire/main_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def testFileNameModuleDuplication(self):
def testFileNameModuleFileFailure(self):
# Confirm that an invalid file that masks a non-existent module fails.
with self.assertRaisesRegex(ValueError,
r'Fire can only be called on \.py files\.'): # pylint: disable=line-too-long # pytype: disable=attribute-error
r'Fire can only be called on \.py files\.'): # pylint: disable=line-too-long, # pytype: disable=attribute-error
dirname = os.path.dirname(self.file.name)
with testutils.ChangeDirectory(dirname):
with open('foobar', 'w'):
Expand Down

0 comments on commit 3be260e

Please sign in to comment.