valhallasw created this task.
valhallasw added a subscriber: valhallasw.
valhallasw added a project: pywikibot-core.
TASK DESCRIPTION
```
class LiveRCPageGeneratorTestCase(WikimediaDefaultSiteTestCase):
test_length = 10
```
results in
```
File "./tests/pagegenerators_tests.py", line 487, in <module>
class LiveRCPageGeneratorTestCase(WikimediaDefaultSiteTestCase):
File "/home/valhallasw/src/pywikibot-core/tests/aspects.py", line 695, in
__new__
if test_func.__code__.co_argcount == 0:
AttributeError: 'int' object has no attribute '__code__'
```
TASK DETAIL
https://phabricator.wikimedia.org/T85660
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign
<username>.
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: valhallasw
Cc: Aklapper, valhallasw, jayvdb, pywikipedia-bugs