diff options
| author | Tal Einat <taleinat+github@gmail.com> | 2018-10-22 18:33:10 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-10-22 18:33:10 +0300 |
| commit | 2447773573e74819e163f8963ab107bc5db123e5 (patch) | |
| tree | 4db0104b09186c80bdcf9d0d7feeeb0390b89a61 /Lib/test/datetimetester.py | |
| parent | 121eb1694cab14df857ba6abe9839654cada15cf (diff) | |
| download | cpython-git-2447773573e74819e163f8963ab107bc5db123e5.tar.gz | |
bpo-29843: raise AttributeError if given negative _length_ (GH-10029)
Raise ValueError OverflowError in case of a negative
_length_ in a ctypes.Array subclass. Also raise TypeError
instead of AttributeError for non-integer _length_.
Co-authored-by: Oren Milman <orenmn@gmail.com>
Diffstat (limited to 'Lib/test/datetimetester.py')
0 files changed, 0 insertions, 0 deletions
