Commit Graph

1358 Commits

Author SHA1 Message Date
Dan Fritchman
8c4a9c6041 Add initial os.system unit tests 2019-10-14 17:55:59 +02:00
Seo Sanghyeon
e76edde38e Implement IndentationError 2019-10-12 02:24:12 +09:00
Windel Bouwman
e5c92d6fa2 Merge pull request #1496 from rls1004/issue1404
Implement delattr for type object
2019-10-11 17:44:46 +02:00
Windel Bouwman
cc76649567 Merge pull request #1504 from youknowone/builtin-round
Fix builtin_round with non-int __round__
2019-10-11 17:43:19 +02:00
Windel Bouwman
82e8811fee Merge pull request #1499 from HyeockJinKim/issue1498
Take only numbers after `.`
2019-10-11 17:39:54 +02:00
HyeockJinKim
cb9b9e6320 Add tests for locals 2019-10-11 04:35:47 +09:00
Jeong YunWon
791e598e3d Fix builtin_round with non-int __round__ 2019-10-11 01:17:49 +09:00
Jeong YunWon
dcd1f3138a Use is for bool comparison 2019-10-10 23:11:26 +09:00
Jeong YunWon
1216874c29 Small int cache like cpython 2019-10-10 23:11:26 +09:00
HyeockJinKim
2cd4c95994 Add tests for float 2019-10-10 17:24:14 +09:00
MinJeong Kim
37a3b2c8f0 Implement delattr for type object
Fixed: #1404
2019-10-10 04:24:55 +00:00
Jeong YunWon
72b4965312 Merge pull request #1497 from HyeockJinKim/ne
Add __ne__ methods
2019-10-10 10:59:24 +09:00
HyeockJinKim
37e85df527 Add __ne__ for float
Issue #1442
2019-10-10 03:49:13 +09:00
HyeockJinKim
100416f4f2 Add __eq__, __ne__ of none
Issue #1442
2019-10-10 03:49:09 +09:00
HyeockJinKim
1e8ade7098 Fixed __eq__ and add __ne__ of range
change return type of __eq__ to PyResult
and add __ne__

Issue #1442
2019-10-10 03:49:05 +09:00
Windel Bouwman
6f9aeb03de Merge pull request #1494 from kluid/mod_csv
Added csv module
2019-10-09 12:10:22 +02:00
kluid
076232141e Added test case for csv module 2019-10-09 12:49:32 +09:00
Windel Bouwman
dccc22dbb9 Merge pull request #1493 from HyeockJinKim/issue1490
Fixed to return the mro function
2019-10-08 21:16:33 +02:00
HyeockJinKim
594c3bb97e Add tests for mro 2019-10-09 01:22:48 +09:00
Windel Bouwman
ad8a182a4c Merge pull request #1483 from ChJR/hotfix/SystemExit
Change something related to exit
2019-10-07 19:58:15 +02:00
Windel Bouwman
0f2eddc86e Merge pull request #1487 from HyeockJinKim/issue1482
Fixed __hash__ of range
2019-10-07 19:40:48 +02:00
ChJR
2bc854387f Remove NameError checking from exit.py due to error of flake8 Linting 2019-10-08 01:05:32 +09:00
Jeong YunWon
c0dfb9367c disable some PowTest.powtest for num-bigint bug 2019-10-07 23:30:58 +09:00
Jeong YunWon
eef97a78ca PowTest.powtest from cpython 2019-10-07 23:29:44 +09:00
HyeockJinKim
145ad87b41 Add tests for range's hash 2019-10-07 19:00:55 +09:00
Noah
ae4b68f5ba Merge pull request #1438 from lntuition/fix-byte-like-object
Add logic to check array.array byte like object
2019-10-06 20:33:02 -05:00
Windel Bouwman
09871c03a4 Merge pull request #1467 from youknowone/pow-negative-exp
Fix pow(0, exp) with negative exp to raise ZeroDivisionError
2019-10-06 14:07:54 +02:00
Windel Bouwman
549c95c83f Merge pull request #1344 from youknowone/thread-timeout
_thread.TIMEOUT_MAX
2019-10-06 14:06:41 +02:00
Windel Bouwman
b8582ae7f1 Merge pull request #1484 from lazylife7157/memoryview_construct
Fix #1003 Construct memoryview from bytes-like obejcts
2019-10-06 14:05:27 +02:00
lazylife7157
597453ec45 Add memoryview constructor tests 2019-10-07 02:25:43 +09:00
Windel Bouwman
c2118a6194 Merge pull request #1477 from lazylife7157/recursion_error
Add RecursionError
2019-10-06 14:03:48 +02:00
Jeong YunWon
f221a698eb Merge pull request #1480 from HyeockJinKim/slice_hash
Add __hash__ of slice
2019-10-06 17:28:42 +09:00
ChJR
66bd4021f9 Add some tests to exit.py 2019-10-06 17:01:13 +09:00
HyeockJinKim
9375851fa0 Add tests for slice __hash__ 2019-10-06 16:11:50 +09:00
Jeong YunWon
79e3700477 Merge pull request #1479 from HyeockJinKim/issue1475
Fixed list's __iadd__
2019-10-06 15:46:15 +09:00
HyeockJinKim
56108c1a16 Add tests for list's __iadd__
Add a test for `extend` and `__iadd__` iterable values
2019-10-06 14:38:06 +09:00
Jeong YunWon
84f08c85d9 Merge pull request #1470 from makarchuk/string.__repr__
cpython compatible "".__repr__
2019-10-06 14:32:06 +09:00
Jeong YunWon
98abc916ce Merge pull request #1473 from HyeockJinKim/slice_compare
Add comparison of slice
2019-10-06 14:31:27 +09:00
lazylife7157
2bb1de85ee Add magnitude seperator test 2019-10-06 21:13:01 +09:00
lazylife7157
c80c68cb06 Refine recursion test 2019-10-06 14:03:56 +09:00
lazylife7157
87d31e4ee0 Add recursion limit test 2019-10-06 12:06:45 +09:00
Timur Makarchuk
027a25c123 Merge branch 'master' into string.__repr__ 2019-10-05 22:14:34 +03:00
Noah
28142e0285 Merge pull request #1471 from sanxiyn/taberror
Implement TabError
2019-10-05 13:54:51 -05:00
Timur Makarchuk
4b962b89d7 Implement some __ne__ methods (#1446)
* Implement some __ne__ methods

Added test snippets from `__ne__` methods

* Fix incompatability in str.__eq__ befaviour

Previously "".__eq__(1) returned "False", which is not the case in
cpython.
Not it's returning 'NotImplemented', as it should
2019-10-06 00:50:02 +09:00
HyeockJinKim
a6a996d1ca Add tests for comparison of slice 2019-10-05 17:34:46 +09:00
Jeong YunWon
9b78e9fa03 Merge pull request #1452 from HyeockJinKim/issue1450
Fix sequence comparison
2019-10-05 16:18:31 +09:00
Seo Sanghyeon
f2e04c0e2f Implement TabError 2019-10-05 10:12:02 +09:00
Timur
70fb3f69ef cpython compatible "".__repr__
Fixes #1390
2019-10-05 01:17:17 +03:00
Jeong YunWon
2153ebbc23 Fix pow(0, exp) with negative exp to raise ZeroDivisionError 2019-10-05 00:04:31 +09:00
Jeong YunWon
035c51b360 _thread.TIMEOUT_MAX 2019-10-04 21:03:00 +09:00