Skip to content

Commit

Permalink
[tests] Ignore quotes in user name
Browse files Browse the repository at this point in the history
The user name can be quotes by double qotes like in 'user': "Wicci'o'Bot"
and this may cause the failure.

Bug: T379456
Change-Id: Ia171f2a106f04f2cfd862d4e4b9b6e6980e3393d
  • Loading branch information
xqt committed Nov 9, 2024
1 parent 6ca1613 commit d10ed91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pywikibot/comms/eventstreams.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ class EventStreams(GeneratorWrapper):
'server_url': 'https://www.wikidata.org',
...
'type': 'edit',
'user': '...',
'user': ...,
'wiki': 'wikidatawiki'}
>>> del stream
Expand Down

0 comments on commit d10ed91

Please sign in to comment.