We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fea0be7 commit 3be260eCopy full SHA for 3be260e
fire/main_test.py
@@ -78,7 +78,7 @@ def testFileNameModuleDuplication(self):
78
def testFileNameModuleFileFailure(self):
79
# Confirm that an invalid file that masks a non-existent module fails.
80
with self.assertRaisesRegex(ValueError,
81
- 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
82
dirname = os.path.dirname(self.file.name)
83
with testutils.ChangeDirectory(dirname):
84
with open('foobar', 'w'):
0 commit comments