mirror of
https://github.com/python/cpython.git
synced 2026-01-06 23:42:34 +00:00
Reindented Lib/test/datetimetester.py.
This commit is contained in:
parent
4719ae7567
commit
cd28013d00
1 changed files with 2 additions and 2 deletions
|
|
@ -1726,7 +1726,7 @@ def test_bad_constructor_arguments(self):
|
|||
# Positional fold:
|
||||
self.assertRaises(TypeError, self.theclass,
|
||||
2000, 1, 31, 23, 59, 59, 0, None, 1)
|
||||
|
||||
|
||||
def test_hash_equality(self):
|
||||
d = self.theclass(2000, 12, 31, 23, 30, 17)
|
||||
e = self.theclass(2000, 12, 31, 23, 30, 17)
|
||||
|
|
@ -4254,7 +4254,7 @@ def test_replace(self):
|
|||
t.replace(1, 1, 1, None, 1)
|
||||
with self.assertRaises(TypeError):
|
||||
dt.replace(1, 1, 1, 1, 1, 1, 1, None, 1)
|
||||
|
||||
|
||||
def test_comparison(self):
|
||||
t = time(0)
|
||||
dt = datetime(1, 1, 1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue