Reindented Lib/test/datetimetester.py.

This commit is contained in:
Alexander Belopolsky 2016-07-24 14:41:08 -04:00
parent 4719ae7567
commit cd28013d00
1 changed files with 2 additions and 2 deletions

View File

@ -1726,7 +1726,7 @@ class TestDateTime(TestDate):
# Positional fold: # Positional fold:
self.assertRaises(TypeError, self.theclass, self.assertRaises(TypeError, self.theclass,
2000, 1, 31, 23, 59, 59, 0, None, 1) 2000, 1, 31, 23, 59, 59, 0, None, 1)
def test_hash_equality(self): def test_hash_equality(self):
d = self.theclass(2000, 12, 31, 23, 30, 17) d = self.theclass(2000, 12, 31, 23, 30, 17)
e = self.theclass(2000, 12, 31, 23, 30, 17) e = self.theclass(2000, 12, 31, 23, 30, 17)
@ -4254,7 +4254,7 @@ class TestLocalTimeDisambiguation(unittest.TestCase):
t.replace(1, 1, 1, None, 1) t.replace(1, 1, 1, None, 1)
with self.assertRaises(TypeError): with self.assertRaises(TypeError):
dt.replace(1, 1, 1, 1, 1, 1, 1, None, 1) dt.replace(1, 1, 1, 1, 1, 1, 1, None, 1)
def test_comparison(self): def test_comparison(self):
t = time(0) t = time(0)
dt = datetime(1, 1, 1) dt = datetime(1, 1, 1)