Ed Schofield

Results 4 issues of Ed Schofield

Consider this code snippet: ```python a = Fxp(-2., dtype="fxp-s24/8") b = Fxp(2.15, dtype="fxp-s24/8") assert b.status['inaccuracy'] c = a+b # This fails: assert c.status['inaccuracy'] ``` It might make sense for the...

The following code fails with a misleading error message: ```python %%run_pytest[clean] import pytest @pytest.mark.parameterize('test_input,expected', [("3+5", 8)]) def test_eval(test_input, expected): assert eval(test_input) == expected ``` The error message is: ``` E...

backlog

Nice work on vega_datasets and altair! 😃 It would be great for the entire world airports dataset to be included in `vega_datasets`, not just a subset for those in the...

The calculation in `naturaldate()` of how many days ahead or behind a date is, is incorrect for tz-aware datetimes. Consider when the current time is 2023-10-15 23:00:00+00:00 (UTC). In various...