Skip to content

Commit 2903ae3

Browse files
authored
Fix disabling of traceback filtering in unit test. (#47)
`keras.utils.clear_session()` actually clears that flag.
1 parent 0c32530 commit 2903ae3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

keras_rs/src/testing/test_case.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ class TestCase(unittest.TestCase):
1414

1515
def setUp(self) -> None:
1616
super().setUp()
17-
keras.config.disable_traceback_filtering()
1817
keras.utils.clear_session()
18+
keras.config.disable_traceback_filtering()
1919

2020
def assertAllClose(
2121
self,

0 commit comments

Comments
 (0)