summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZiang Song <ziang.song@nrgenergy.com>2015-12-03 21:45:31 (GMT)
committerZiang Song <ziang.song@nrgenergy.com>2015-12-03 21:45:31 (GMT)
commitdb82f87fcca4ff08de4aecfe31f06a1ae4e2170b (patch)
tree3f708bd8cba347ff432d8272ebf8e12ced8d40bb
parent76aead490da1fc6286ce9db429570b34f5be7c4c (diff)
downloadisodate-db82f87fcca4ff08de4aecfe31f06a1ae4e2170b.tar.gz
Removed the unnecessory lines.
-rw-r--r--src/isodate/tests/test_duration.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/isodate/tests/test_duration.py b/src/isodate/tests/test_duration.py
index 5bb8acb..d34902b 100644
--- a/src/isodate/tests/test_duration.py
+++ b/src/isodate/tests/test_duration.py
@@ -313,14 +313,11 @@ class DurationTest(unittest.TestCase):
self.assertEqual('10 years, 10 months, 10 days, 0:00:10', str(dur))
self.assertEqual('isodate.duration.Duration(10, 10, 0,'
' years=10, months=10)', repr(dur))
-
dur = Duration(months=0)
self.assertEqual('0:00:00', str(dur))
-
dur = Duration(months=1)
self.assertEqual('1 month, 0:00:00', str(dur))
-
def test_hash(self):
'''
Test __hash__ for Duration objects.