python310Packages.bottle: disable timing sensitive test
____________________________ TestSendFile.test_ims _____________________________
self = <test.test_sendfile.TestSendFile testMethod=test_ims>
def test_ims(self):
""" SendFile: If-Modified-Since"""
request.environ['HTTP_IF_MODIFIED_SINCE'] = time.strftime("%a, %d %b %Y %H:%M:%S GMT", time.gmtime())
res = static_file(basename, root=root)
self.assertEqual(304, res.status_code)
self.assertEqual(int(os.stat(__file__).st_mtime), parse_date(res.headers['Last-Modified']))
> self.assertAlmostEqual(int(time.time()), parse_date(res.headers['Date']))
E AssertionError: 1680561734 != 1680561733.0 within 7 places (1.0 difference)
test_sendfile.py:78: AssertionError