Skip to content

Commit

Permalink
Added test cases to skip gc count for pypy
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulhacker committed Oct 14, 2023
1 parent 507bd88 commit 979d793
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -791,7 +791,7 @@ def test_runtime_cpu_time(self, mock_process_cpu_times):
)

@mock.patch("gc.get_count")
@skipIf(python_implementation().lower() == "pypy")
@skipIf(python_implementation().lower() == "pypy", "not supported for pypy")
def test_runtime_get_count(self, mock_gc_get_count):

mock_gc_get_count.configure_mock(**{"return_value": (1, 2, 3)})
Expand Down

0 comments on commit 979d793

Please sign in to comment.