Author: Brian Kearns <[email protected]>
Branch: py3k
Changeset: r62069:4ed015cbc18d
Date: 2013-03-05 06:48 -0500
http://bitbucket.org/pypy/pypy/changeset/4ed015cbc18d/
Log: spacing for readability
diff --git a/lib-python/3/test/datetimetester.py
b/lib-python/3/test/datetimetester.py
--- a/lib-python/3/test/datetimetester.py
+++ b/lib-python/3/test/datetimetester.py
@@ -3681,8 +3681,12 @@
self.assertEqual(datetime_sc, as_datetime)
def test_extra_attributes(self):
- for x in [date.today(), time(), datetime.utcnow(), timedelta(),
- tzinfo(), timezone(timedelta())]:
+ for x in [date.today(),
+ time(),
+ datetime.utcnow(),
+ timedelta(),
+ tzinfo(),
+ timezone(timedelta())]:
with self.assertRaises(AttributeError):
x.abc = 1
@@ -3694,7 +3698,9 @@
def __int__(self):
return self.value
- for xx in [decimal.Decimal(10), decimal.Decimal('10.9'), Number(10)]:
+ for xx in [decimal.Decimal(10),
+ decimal.Decimal('10.9'),
+ Number(10)]:
self.assertEqual(datetime(10, 10, 10, 10, 10, 10, 10),
datetime(xx, xx, xx, xx, xx, xx, xx))
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit