mirror of
https://github.com/python/cpython.git
synced 2025-12-15 21:44:50 +00:00
Whitespace normalization. Ugh, we really need to do this more often.
You might want to review this change as it's my first time. Be gentle. :-)
This commit is contained in:
parent
e47c508850
commit
0d4c06e06e
38 changed files with 386 additions and 387 deletions
|
|
@ -1248,7 +1248,7 @@ def slots():
|
|||
c.abc = 5
|
||||
vereq(c.abc, 5)
|
||||
|
||||
# _unicode_to_string used to modify slots in certain circumstances
|
||||
# _unicode_to_string used to modify slots in certain circumstances
|
||||
slots = (unicode("foo"), unicode("bar"))
|
||||
class C(object):
|
||||
__slots__ = slots
|
||||
|
|
@ -1263,7 +1263,7 @@ def slots():
|
|||
except (TypeError, UnicodeEncodeError):
|
||||
pass
|
||||
else:
|
||||
raise TestFailed, "[unichr(128)] slots not caught"
|
||||
raise TestFailed, "[unichr(128)] slots not caught"
|
||||
|
||||
# Test leaks
|
||||
class Counted(object):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue