Commit 644ec052 authored by Sylvain Gugger's avatar Sylvain Gugger
Browse files

Make slow tests slow

parent c722753a
...@@ -410,6 +410,14 @@ class FNetTokenizationTest(TokenizerTesterMixin, unittest.TestCase): ...@@ -410,6 +410,14 @@ class FNetTokenizationTest(TokenizerTesterMixin, unittest.TestCase):
input_p = tokenizer_r.pad(input_p, max_length=max_length, padding="max_length") input_p = tokenizer_r.pad(input_p, max_length=max_length, padding="max_length")
self.assert_batch_padded_input_match(input_r, input_p, max_length, pad_token_id) self.assert_batch_padded_input_match(input_r, input_p, max_length, pad_token_id)
@slow
def test_save_pretrained(self):
super().test_save_pretrained()
@slow
def test_save_slow_from_fast_and_reload_fast(self):
super().test_save_slow_from_fast_and_reload_fast()
def assert_batch_padded_input_match( def assert_batch_padded_input_match(
self, self,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment