From 58d692e2a1d7e3894dbed68efbcf7166d6ec3fb7 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Thu, 15 Oct 2009 10:33:13 +0200 Subject: All times are not stored as time_struct, but as simple int to consume less memory time imports cleaned up and mostly removed as they were not required (anymore) --- test/git/test_tag.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'test/git/test_tag.py') diff --git a/test/git/test_tag.py b/test/git/test_tag.py index 2ebb860a..8f12bf11 100644 --- a/test/git/test_tag.py +++ b/test/git/test_tag.py @@ -8,7 +8,6 @@ from mock import * from test.testlib import * from git import * from git.objects.tag import TagObject -import time class TestTag(object): def setup(self): @@ -26,7 +25,7 @@ class TestTag(object): assert isinstance( tagobj, TagObject ) assert tagobj.tag == tag.name assert isinstance( tagobj.tagger, Actor ) - assert isinstance( tagobj.tagged_date, time.struct_time ) + assert isinstance( tagobj.tagged_date, int ) assert tagobj.message # END if we have a tag object # END for tag in repo-tags -- cgit v1.2.3