Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,12 @@ jobs:
then
rm -r build
fi
meson setup build -Db_sanitize=address,undefined
meson setup build
python -m build --no-isolation --wheel -Cbuilddir=build --config-setting='compile-args=-v' -Csetup-args="-Dbuildtype=debug"
find ./dist/*.whl | xargs python -m pip install
- name: Run stringdtype tests
working-directory: stringdtype
run: |
ASAN_OPTIONS=detect_leaks=false LD_PRELOAD=/usr/lib/gcc/x86_64-linux-gnu/11/libasan.so pytest -s -vvv --color=yes
pytest -s -vvv --color=yes
pip uninstall -y pandas
ASAN_OPTIONS=detect_leaks=false LD_PRELOAD=/usr/lib/gcc/x86_64-linux-gnu/11/libasan.so pytest -s -vvv --color=yes
pytest -s -vvv --color=yes
6 changes: 4 additions & 2 deletions quaddtype/tests/test_quaddtype.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,10 @@ def test_unary_ops(op, val, expected):


def test_nan_and_inf():
assert (QuadPrecision("nan") != QuadPrecision("nan")) == (
QuadPrecision("nan") == QuadPrecision("nan"))
# NaN should not equal itself
assert QuadPrecision("nan") != QuadPrecision("nan")

# Test infinity comparisons
assert QuadPrecision("inf") > QuadPrecision("1e1000")
assert QuadPrecision("-inf") < QuadPrecision("-1e1000")

Expand Down