slozier

Results 121 issues of slozier

The repro for the test failure is as follows: ```py import builtins from importlib import reload del builtins.pow reload(builtins) assert "pow" in dir(builtins) pow(2,2) ``` Note that it also does...

Calling a rich comparison directly on an instance of an Int32-based `int` returns `NotImplemented` for subclasses of int. In CPython, the comparison succeeds. However, it works properly for `BigInteger`. for...

CPython compatibility

Did not look in why the `__context__` is not set, but the following example is causing a failure in `test_code_module` (in 3.6). ```py try: ham except: eggs ```

3.6

The insertion-order preserving dicts were implemented in CPython 3.6 but only became part of the language spec in 3.7. Note that some tests in 3.6 (e.g. test_ordered_dict) are checking for...

What's New In Python 3.7

Specifically, the test `tan0064` (from cmath_testcases.txt in 3.6 which is run by `test_math`) is failing. It checks the value of `math.tan(1.5707963267948961)` and expects it be be `1978937966095219.0`, but .NET Framework...

wontfix
CPython compatibility
.NET Framework

The test exercises `support.change_cwd` which basically does: ```py def change_cwd(path): saved_dir = os.getcwd() os.chdir(path) try: yield os.getcwd() finally: os.chdir(saved_dir) ``` and then checks that the directory is what's expected. However...

macOS
3.6

`test_args_from_interpreter_flags` and `test_optim_args_from_interpreter_flags` are failing in test_support in 3.6. There are various reasons for the failures: - -X arguments which are CPython specific - IronPython has `sys.flags.dont_write_bytecode` set all the...

3.6

https://github.com/IronLanguages/ironpython3/pull/764 enabled `test_array` but the following tests are still failing and are being skipped. - [x] `BaseTest.test_tofromstring` (Resolved by 85987247e0cb63bc6045e25792a88dfa49f0f829) - [x] `BaseTest.test_buffer` (Resolved by https://github.com/IronLanguages/ironpython3/pull/808) - [ ] `BaseTest.test_subclass_with_kwargs`...

testing