X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=test%2Futil%2Ftimefuncs.py;h=7b0ff5419b40c47c3a93933e1e0392220e6a9539;hb=1d2350d56f314a6e3de43517a66f7e2f48128d44;hp=8836c79b80f503a3c435925af3e079b0b4869fec;hpb=1e2eb157cb569e9c28a5b7888ed97076d27414cb;p=nepi.git diff --git a/test/util/timefuncs.py b/test/util/timefuncs.py index 8836c79b..7b0ff541 100755 --- a/test/util/timefuncs.py +++ b/test/util/timefuncs.py @@ -4,9 +4,8 @@ # Copyright (C) 2013 INRIA # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. +# it under the terms of the GNU General Public License version 2 as +# published by the Free Software Foundation; # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -34,7 +33,7 @@ class TimeFuncTestCase(unittest.TestCase): seconds1 = _get_total_seconds(date) seconds2 = date.total_seconds() - self.assertEquals(seconds1, seconds2) + self.assertEqual(seconds1, seconds2) if __name__ == '__main__':