From 0ef61d392cee69b4269ac97af7e8582052d9a0cd Mon Sep 17 00:00:00 2001 From: Sylvain Gugger Date: Wed, 13 Oct 2021 22:04:40 -0400 Subject: [PATCH] Revert "Skip faulty test" This reverts commit 5b6bd4e7880cd51375c2d6c33bbd8173acfd920b. --- examples/pytorch/test_examples.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/examples/pytorch/test_examples.py b/examples/pytorch/test_examples.py index 5ad75af3f5..0a98399155 100644 --- a/examples/pytorch/test_examples.py +++ b/examples/pytorch/test_examples.py @@ -19,7 +19,6 @@ import json import logging import os import sys -import unittest from unittest.mock import patch import torch @@ -217,7 +216,6 @@ class ExamplesTests(TestCasePlus): self.assertGreaterEqual(result["eval_accuracy"], 0.75) self.assertLess(result["eval_loss"], 0.5) - @unittest.skip("squad_v2 metric is broken on Datasets apparently, skipping until it's fixed.") def test_run_squad(self): stream_handler = logging.StreamHandler(sys.stdout) logger.addHandler(stream_handler)