Xqt created this task.
Xqt added projects: Pywikibot, Pywikibot-tests, Upstream.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
  **Steps to replicate the issue**:
  
  `py -3.12 pwb.py site_tests -v TestSiteProofreadinfo`
  
  **What happens?**:
  
    tests: max_retries reduced from 15 to 1
    test_cache_proofreadinfo_on_site_with_proofreadpage 
(__main__.TestSiteProofreadinfo.test_cache_proofreadinfo_on_site_with_proofreadpage)
    Test Site._cache_proofreadinfo(). ... ok
    test_cache_proofreadinfo_on_site_without_proofreadpage 
(__main__.TestSiteProofreadinfo.test_cache_proofreadinfo_on_site_without_proofreadpage)
    Test Site._cache_proofreadinfo(). ... Exception ignored in garbage 
collection:
    Traceback (most recent call last):
      File "D:\pwb\GIT\core\pywikibot\site\_basesite.py", line 187, in 
__getattr__
        def __getattr__(self, attr):
    
    SystemError: <function BaseSite.family at 0x0000023AFBD87240> returned a 
result with an exception set
    ERROR
    
    ======================================================================
    ERROR: test_cache_proofreadinfo_on_site_without_proofreadpage 
(__main__.TestSiteProofreadinfo.test_cache_proofreadinfo_on_site_without_proofreadpage)
    Test Site._cache_proofreadinfo().
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "D:\pwb\GIT\core\tests\site_tests.py", line 1236, in 
test_cache_proofreadinfo_on_site_without_proofreadpage
        site.proofread_index_ns
      File "D:\pwb\GIT\core\pywikibot\site\_basesite.py", line 198, in 
__getattr__
        raise AttributeError(f'{type(self).__name__} instance has no '
    AttributeError: APISite instance has no attribute 'proofread_index_ns'. Did 
you mean: 'proofread_page_ns'?
    
    ----------------------------------------------------------------------
    Ran 2 tests in 1.739s
    
    FAILED (errors=1)
  
  https://github.com/wikimedia/pywikibot/actions/runs/4647025294/jobs/8230498089
  https://github.com/wikimedia/pywikibot/actions/runs/4647025294/jobs/8230498136
  
  **Software version**:
  Python 3.12a7
  Pywikibot 8.1.0dev3
  Pywikibot 8.0.3
  (previous Pywikibot releases not tested yet)

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

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

To: Xqt
Cc: Aklapper, Xqt, pywikibot-bugs-list, PotsdamLamb, Jyoo1011, JohnsonLee01, 
SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Framawiki, 
Mdupont, JJMC89, Dvorapa, Altostratus, binbot, Avicennasis, mys_721tx, jayvdb, 
Masti, Alchimista, Krenair
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to