Skip to content

Commit a9bdc58

Browse files
committed
fix: tests
Signed-off-by: yihong0618 <[email protected]>
1 parent 8a4cdc4 commit a9bdc58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_inspect/test_inspect.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -815,7 +815,7 @@ def test_getfile_custom_module(self):
815815
import re
816816
custom_module = types.ModuleType('custom_module')
817817
msg = re.escape(
818-
f'Custom module: {custom_module!r} cannot get source'
818+
f'Cannot get source from {custom_module!r}'
819819
)
820820
with self.assertRaisesRegex(TypeError, msg) as e:
821821
inspect.getfile(custom_module)

0 commit comments

Comments
 (0)