Commit Graph
515 Commits
Author SHA1 Message Date
Basix e2279bea2b Disable test_threadedtempfile on Windows
Calling test.support.start_thread hangs.
2020-08-10 02:36:29 +09:00
Basix 9868f63f50 Skip CPython-specific test on Windows
Check its comments for details
2020-08-10 02:36:29 +09:00
Basix e5178574f0 Skip rescursion tests on Windows
See #2050
2020-08-10 02:36:29 +09:00
Jeong YunWon ebaf434401 Merge pull request #2094 from minoring/fix-objmodule-new
Fix module.__new__ to give uninitialized object.
2020-08-09 23:29:23 +09:00
minoring 7abfb6bbb3 Fix module.__new__ to give uninitialized object. 2020-08-09 21:58:37 +09:00
Jeong YunWon 4fc69d43d0 Merge pull request #2068 from hatee-hatee-hatee-ho/setiter
Support pysetiterator.
2020-08-09 20:44:32 +09:00
Jeong YunWon 31373116c0 Merge pull request #2089 from tobark/test_os
Copy test_os.py from CPython 3.8.3
2020-08-09 18:29:17 +09:00
Jeong YunWon ac60464efb Merge pull request #2082 from clemado1/tuple_tp_new
Fix objtuple.tp_new so that return cloned when a parameter is tuple
2020-08-09 17:41:36 +09:00
Yi Hyunjoon 10b5c2f078 Patch for ubuntu-latest CI 2020-08-09 17:36:36 +09:00
clemado1 2733b4dfa1 Fix objtuple.tp_new so that return cloned when a parameter is tuple 2020-08-09 16:37:34 +09:00
Yi Hyunjoon 70e4ee92bd Expect failure for tests raise various errors 2020-08-09 16:33:26 +09:00
Yi Hyunjoon 7a3ebfcd95 Comment EnvironTests class 2020-08-09 16:33:26 +09:00
Yi Hyunjoon e4770ebdf1 Expect failrure for tests raise TypeError 2020-08-09 16:33:25 +09:00
Yi Hyunjoon 35667e7a48 Expect failure for failed tests 2020-08-09 16:33:25 +09:00
Yi Hyunjoon 1f1e2ee001 Expect failure for tests raise AttributeError 2020-08-09 16:33:25 +09:00
Yi Hyunjoon 06176954b1 Skip tests that raise invalid mode: x 2020-08-09 16:33:25 +09:00
Yi Hyunjoon 74fe9d30d2 Skip tests that use mmap 2020-08-09 16:33:25 +09:00
Yi Hyunjoon 46f22981a8 Add modules for test_os 2020-08-09 16:33:24 +09:00
Yi Hyunjoon d31497bb34 Copy test_os.py from CPython 3.8.3 2020-08-09 16:33:24 +09:00
hatee-hatee-hatee-hoandDaniel Alley 4903f8e5ab Implemented SetIterator
skip test TestWeirdBugs.test_merge_and_mutate

Co-Authored-By: Daniel Alley <dalley@redhat.com>
2020-08-09 16:24:38 +09:00
hyperbora e7eab050f4 Fix problems with different hash values for str and bytes 2020-08-09 16:09:46 +09:00
Jeong YunWon 7d75c4eaa6 Merge pull request #2079 from youknowone/small-int
small int cache for int.__new__
2020-08-09 11:43:10 +09:00
Jeong YunWon 0daf60a066 Merge pull request #2080 from skinny121/struct_fixes
Implement the rest of the struct module
2020-08-09 04:07:07 +09:00
hyperbora ced829f655 Fix problem that cannot check overflow in len function. 2020-08-08 23:05:21 +09:00
Jeong YunWon 6b71a89281 small int cache for int.__new__ 2020-08-08 15:17:22 +09:00
Ben Lewis 386b899d82 Change error messages to match CPython's. 2020-08-08 12:52:16 +12:00
Ben Lewis ae8d64fdd0 Fix several struct module tests. 2020-08-08 10:49:46 +12:00
Jeong YunWon aa899f6a1a convert skip to expectedFailure 2020-08-08 06:03:59 +09:00
Ben Lewis 7129e76d62 Implement iter_unpack 2020-08-08 08:50:40 +12:00
Ben Lewis dc994e3c6f Accept array as byte like/buffer. 2020-08-08 08:50:40 +12:00
Jeong YunWon 2a0e84828e Optimize int parsing based on bytes rather than str 2020-08-08 04:41:48 +09:00
Noah 0876c19c04 Unskip test_json.test_tool 2020-08-03 13:20:06 -05:00
Noah 83e2a2d25f Add _osx_support.py from CPython 3.8.2 2020-08-03 10:31:35 -05:00
Noah a822ef6275 Mark unsupported tests for test_sys.py, remove redundant test_sys_executable 2020-08-02 21:00:04 -05:00
Noah e1656149aa Add test/test_sys.py from CPython 3.8.2 2020-08-02 20:57:56 -05:00
Noah 3d5ea1b38d Merge pull request #2060 from skinny121/zlib_decompress
Fix zlib decompression
2020-08-02 09:48:47 -05:00
Jeong YunWon 2c86359051 Merge pull request #2045 from Lynskylate/feature-symtable
Add is_imported and is_annotation for symtable
2020-08-02 17:42:51 +09:00
Ben Lewis dc2ca629a8 Mark failing test_zipimport.py tests. 2020-08-02 19:49:57 +12:00
Ben Lewis fa1a436a8f Fix test_zipimport.py from CPython 3.8.5 2020-08-02 19:49:57 +12:00
Ben Lewis 43434d8559 Fix zlib decompress 2020-08-02 19:49:57 +12:00
Yi Hyunjoon ad7f171998 Copy test_repl.py from CPython 3.8.3 2020-08-02 14:07:16 +09:00
Ben Lewis fa3e571889 Unmark tests that are now passing in test_unicode.py. 2020-08-02 07:22:05 +12:00
Ben Lewis 0bfe830e7a Mark failing test_string.py tests. 2020-08-02 07:22:05 +12:00
Ben Lewis 815572beb3 Copy test_string.py from CPython 3.8.3. 2020-08-02 07:22:05 +12:00
lynskylate 7d8ab3dda7 Merge remote-tracking branch 'origin/master' into feature-symtable 2020-08-02 02:31:09 +08:00
Bolun Thompson 5ecb288819 Rewrote dis tests to start a new process to capture stdout (and stderr)
This was chaned because stdout is being written to by rust code, which
currently can't be redirected by reassigning sys.stdout. This caused the
tests to fail because they couldn't see the output of what was being tested.
2020-08-01 07:21:28 -07:00
Bolun Thompson b066b94196 Tests for dis module.
As of this commit, these tests fail.
2020-08-01 07:21:28 -07:00
Bolun Thompson 22dc98091b Added graceful handling of creating a venv with pip
Currently, RustPython doesn't support the pip module. Normally, when
creating a virtual environment, pip is automatically installed. This
adds an specific error message when pip is attempted to be installed.
2020-07-31 19:32:01 -07:00
Bolun Thompson 0161b98082 Mark expected failures for the venv tests 2020-07-31 19:32:01 -07:00
Bolun Thompson 9a9a24d5f0 venv module and tests
The venv module was taken from CPython 3.9.0 Beta 5.
2020-07-31 19:30:16 -07:00