Skip to content
This repository has been archived by the owner on May 25, 2024. It is now read-only.

Commit

Permalink
test: uncomment test code, skip ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Antares0982 committed May 11, 2024
1 parent eb30209 commit c7dc4d4
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions test/fuzz_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,25 +15,25 @@ def _check_obj_same(self, a, b):

def test_fuzz(self):
from test_utils import tracemalloc_mem_check
# with self.subTest("fuzz loads"):
# tracemalloc_mem_check(
# self,
# datas=None,
# warm_up_repeat=100,
# test_repeat=1000,
# test_func=self._fuzz_loads,
# mem_diff_limit=100
# )

# with self.subTest("fuzz dumps"):
# tracemalloc_mem_check(
# self,
# datas=None,
# warm_up_repeat=100,
# test_repeat=1000,
# test_func=self._fuzz_dumps,
# mem_diff_limit=100
# )
with self.subTest("fuzz loads"):
tracemalloc_mem_check(
self,
datas=None,
warm_up_repeat=100,
test_repeat=1000,
test_func=self._fuzz_loads,
mem_diff_limit=100
)

with self.subTest("fuzz dumps"):
tracemalloc_mem_check(
self,
datas=None,
warm_up_repeat=100,
test_repeat=1000,
test_func=self._fuzz_dumps,
mem_diff_limit=100
)

with self.subTest("fuzz order"):
tracemalloc_mem_check(
Expand Down

0 comments on commit c7dc4d4

Please sign in to comment.