We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a676d0a commit e4726abCopy full SHA for e4726ab
keras_nlp/models/task_test.py
@@ -64,11 +64,11 @@ def test_summary_with_preprocessor(self):
64
preprocessor = SimplePreprocessor()
65
model = SimpleTask(preprocessor)
66
summary = []
67
- model.summary(print_fn=lambda x, line_break: summary.append(x))
+ model.summary(print_fn=lambda x, line_break=False: summary.append(x))
68
self.assertRegex("\n".join(summary), "Preprocessor:")
69
70
def test_summary_without_preprocessor(self):
71
model = SimpleTask()
72
73
74
self.assertNotRegex("\n".join(summary), "Preprocessor:")
0 commit comments