Message277022
Changed error message to:
>>> complex({1:2},1)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: complex() first arg must be a string or a number, not 'dict'
>>> complex(1j, {1: 2})
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: complex() second arg must be a number, not 'dict'
Added tests to check the error raised. |
|
Date |
User |
Action |
Args |
2016-09-20 12:03:09 | soummyaah | set | recipients:
+ soummyaah, mark.dickinson, berker.peksag, serhiy.storchaka, manishearth |
2016-09-20 12:03:09 | soummyaah | set | messageid: <1474372989.66.0.695899044743.issue28203@psf.upfronthosting.co.za> |
2016-09-20 12:03:09 | soummyaah | link | issue28203 messages |
2016-09-20 12:03:09 | soummyaah | create | |
|