Skip to content

Commit 40a9c84

Browse files
dr-carlosvstinner
andauthored
Fix typo in test_import
Co-authored-by: Victor Stinner <vstinner@python.org>
1 parent 225a143 commit 40a9c84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_import/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1264,7 +1264,7 @@ class Spec:
12641264
spec.name = "builtins"
12651265
self.assertIs(_imp.create_builtin(spec), builtins)
12661266

1267-
name = None
1267+
spec.name = None
12681268
with self.assertRaisesRegex(TypeError, 'name must be string, not NoneType'):
12691269
_imp.create_builtin(spec)
12701270

0 commit comments

Comments
 (0)