Skip to content

Commit 94cb0d6

Browse files
Revert "Accept decay rate parameter in MockCompilationRunner"
This reverts commit 37a6c90. These apparently were there for a reason. The tests all passed on my system which is interesting. Not sure if it's an environment difference or what, but will investigate more thoroughly later.
1 parent 7091b15 commit 94cb0d6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

compiler_opt/tools/generate_default_trace_test.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@
3333
class MockCompilationRunner(compilation_runner.CompilationRunner):
3434
"""A compilation runner just for test."""
3535

36-
def __init__(self, moving_average_decay_rate: float, sentinel=None):
37-
del moving_average_decay_rate # Unused.
36+
def __init__(self, sentinel=None):
3837
assert sentinel == 42
3938
super().__init__()
4039

0 commit comments

Comments
 (0)