You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-i18n/transifex-client/files/transifex-client-0.14.2-r1-...

17 lines
646 B

https://github.com/transifex/transifex-client/pull/316
https://bugs.gentoo.org/771660
Fix tests on 32-bit systems
--- a/tests/test_project.py
+++ b/tests/test_project.py
@@ -717,8 +717,8 @@
)
self.assertEqual(res, True)
- # "Recent" timestamp (in the future - 2100)
- ts_mock.return_value = 4111417171
+ # "Recent" timestamp (in the future - 2038)
+ ts_mock.return_value = 2147483000
res = self.p._should_download(
'pt', self.stats, os.path.abspath(__file__), False,
use_git_timestamps=True