Xqt created this task.
Xqt added a project: Pywikibot-core.
Herald added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION

Compairing a datetime timestamp with ist mediawiki format fails:

======================================================================
 FAIL: test_mediawiki_format (tests.timestamp_tests.TestTimestamp)
 Test conversion from and to timestamp format.
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "c:\projects\pywikibot-g4xqx\tests\timestamp_tests.py", line 87, in test_mediawiki_format
     self.assertNotEqual(t1, t2)
 AssertionError: Timestamp(2018, 4, 8, 10, 22, 1) == Timestamp(2018, 4, 8, 10, 22, 1)
 
 ----------------------------------------------------------------------
 Ran 1668 tests in 491.166s

This failure is very rare. The reason is that Timestamp.microsecond may become 0.


TASK DETAIL
https://phabricator.wikimedia.org/T191827

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Xqt
Cc: Aklapper, pywikibot-bugs-list, Dalba, Xqt, Magul, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, jayvdb, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to