def test_get_dataset_onthefly(self):
    self.verify_task_matches_fake_datasets('uncached_task', use_cached=False)
    self.cached_task._preprocessors = (self.DEFAULT_PREPROCESSORS + (test_utils.test_token_preprocessor,))
    self.verify_task_matches_fake_datasets('cached_task', use_cached=False, token_preprocessed=True)
def test_get_dataset_onthefly(self):
    self.verify_task_matches_fake_datasets('uncached_task', use_cached=False)
    self.cached_task._preprocessors = (self.DEFAULT_PREPROCESSORS + (test_utils.test_token_preprocessor,))
    self.verify_task_matches_fake_datasets('cached_task', use_cached=False, token_preprocessed=True)