Mpaa edited the task description. (Show Details) |
EDIT DETAILS
--- Logging error ---
Traceback (most recent call last):
File "/usr/lib/python3.4/logging/handlers.py", line 71, in emit
if self.shouldRollover(record):
File "/usr/lib/python3.4/logging/handlers.py", line 187, in shouldRollover
msg = "%s\n" % self.format(record)
File "/home/user/python/core/pywikibot/tools/_logging.py", line 88, in format
'Record argument should start with path'
AssertionError: Record argument should start with path
Call stack:
File "test_warn.py", line 19, in <module>
bar(x=3)
File "/home/user/python/core/pywikibot/tools/__init__.py", line 1437, in wrapper
DeprecationWarning, depth)
Message: '%s'
Arguments: ('test_warn.py:19: DeprecationWarning: x argument of __main__.bar is deprecated; use y instead.\n bar(x=3)\n',)
```
...
Arguments: ('test_warn.py:19: DeprecationWarning: x argument of __main__.bar is deprecated; use y instead.\n bar(x=3)\n',)--- Logging error ---
Traceback (most recent call last):
File "/usr/lib/python3.4/logging/handlers.py", line 71, in emit
if self.shouldRollover(record):
File "/usr/lib/python3.4/logging/handlers.py", line 187, in shouldRollover
msg = "%s\n" % self.format(record)
File "/home/user/python/core/pywikibot/tools/_logging.py", line 88, in format
'Record argument should start with path'
AssertionError: Record argument should start with path
Call stack:
File "test_warn.py", line 19, in <module>
bar(x=3)
File "/home/user/python/core/pywikibot/tools/__init__.py", line 1437, in wrapper
DeprecationWarning, depth)
Message: '%s'
Arguments: ('test_warn.py:19: DeprecationWarning: x argument of __main__.bar is deprecated; use y instead.\n bar(x=3)\n',)
```
...
TASK DETAIL
EMAIL PREFERENCES
To: Mpaa
Cc: gerritbot, Aklapper, pywikibot-bugs-list, Mpaa, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, Magul, Tbscho, MayS, Lewizho99, Mdupont, JJMC89, Maathavan, Avicennasis, Sn1per, jayvdb, Dalba, Masti, Alchimista, Rxy
Cc: gerritbot, Aklapper, pywikibot-bugs-list, Mpaa, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, Magul, Tbscho, MayS, Lewizho99, Mdupont, JJMC89, Maathavan, Avicennasis, Sn1per, jayvdb, Dalba, Masti, Alchimista, Rxy
_______________________________________________ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs