mirror of
https://github.com/python/cpython.git
synced 2025-07-29 06:05:00 +00:00
Issue #5341: Fix a variety of spelling errors.
This commit is contained in:
parent
a12a86e956
commit
3e4caeb3bf
56 changed files with 93 additions and 93 deletions
|
@ -196,7 +196,7 @@ class ArbitraryFunctionAttrTest(FuncAttrsTest):
|
|||
|
||||
def test_unset_attr(self):
|
||||
for func in [self.b, self.f.a, self.fi.a]:
|
||||
try: func.non_existant_attr
|
||||
try: func.non_existent_attr
|
||||
except AttributeError: pass
|
||||
else: self.fail("using unknown attributes should raise "
|
||||
"AttributeError")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue