Skip to content
Merged
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
12 changes: 6 additions & 6 deletions tests/test_editor.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,9 +252,9 @@ def test_search_by_int(process):
except OSError:
pass

assert found / test_length >= 0.7
assert found / test_length >= 0.8
# Some addresses are beyond our control and may have their values changed.
assert correct / total >= 0.7
assert correct / total >= 0.5


def test_search_by_float(process):
Expand Down Expand Up @@ -290,8 +290,8 @@ def test_search_by_float(process):
except OSError:
pass

assert found / test_length >= 0.7
assert correct / total >= 0.7
assert found / test_length >= 0.8
assert correct / total >= 0.5


def test_search_by_string(process):
Expand Down Expand Up @@ -327,8 +327,8 @@ def test_search_by_string(process):
# it back, or hold non-decodable bytes. Either way, skip it.
pass

assert found / test_length >= 0.7
assert correct / total >= 0.7
assert found / test_length >= 0.8
assert correct / total >= 0.5


def test_search_by_string_between(process):
Expand Down
Loading