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 8a4cdc4 commit a9bdc58Copy full SHA for a9bdc58
Lib/test/test_inspect/test_inspect.py
@@ -815,7 +815,7 @@ def test_getfile_custom_module(self):
815
import re
816
custom_module = types.ModuleType('custom_module')
817
msg = re.escape(
818
- f'Custom module: {custom_module!r} cannot get source'
+ f'Cannot get source from {custom_module!r}'
819
)
820
with self.assertRaisesRegex(TypeError, msg) as e:
821
inspect.getfile(custom_module)
0 commit comments