summaryrefslogtreecommitdiff
path: root/rdiff-backup/testing/timetest.py
diff options
context:
space:
mode:
authorbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2002-12-31 08:46:22 +0000
committerbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2002-12-31 08:46:22 +0000
commitb53bfd4d41252426cb050ef896676034d92e3ef7 (patch)
tree5d03aedc0a408da049390e8e9d8a7d28ad596c49 /rdiff-backup/testing/timetest.py
parentc08ca27a381443d6e72ee8d16269e5a535df58d1 (diff)
downloadrdiff-backup-b53bfd4d41252426cb050ef896676034d92e3ef7.tar.gz
Various changes for v0.11.1 (see CHANGELOG)
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@256 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup/testing/timetest.py')
-rw-r--r--rdiff-backup/testing/timetest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rdiff-backup/testing/timetest.py b/rdiff-backup/testing/timetest.py
index 97286a8..367a4f9 100644
--- a/rdiff-backup/testing/timetest.py
+++ b/rdiff-backup/testing/timetest.py
@@ -6,7 +6,7 @@ class TimeTest(unittest.TestCase):
def testConversion(self):
"""test timetostring and stringtotime"""
Time.setcurtime()
- assert type(Time.curtime) is types.FloatType
+ assert type(Time.curtime) is types.FloatType or types.LongType
assert type(Time.curtimestr) is types.StringType
assert (Time.cmp(int(Time.curtime), Time.curtimestr) == 0 or
Time.cmp(int(Time.curtime) + 1, Time.curtimestr) == 0)