From 1b4d90a7f0062eb516ba0c4ddb311c2ad0cdfd92 Mon Sep 17 00:00:00 2001 From: Andrew Hamilton Date: Sun, 9 Jul 2017 21:22:36 +0100 Subject: [PATCH] Disabled a flaky test. --- tests/tools_test.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/tests/tools_test.py b/tests/tools_test.py index a31bfbe..4bde550 100755 --- a/tests/tools_test.py +++ b/tests/tools_test.py @@ -91,12 +91,13 @@ class ToolsTestCase(unittest.TestCase): def test_python_syntax(self): self._test_tool(tools.python_syntax, self.HI_OK) - def test_python_unittests(self): - self._test_tool(tools.python_unittests, - [("hi3.py", tools.Status.not_applicable), - ("hi.py", tools.Status.not_applicable), - ("hi3_test.py", tools.Status.ok), - ("test_foo.py", tools.Status.ok)]) + # FIX: python_unittests has a time duration in its output. + # def test_python_unittests(self): + # self._test_tool(tools.python_unittests, + # [("hi3.py", tools.Status.not_applicable), + # ("hi.py", tools.Status.not_applicable), + # ("hi3_test.py", tools.Status.ok), + # ("test_foo.py", tools.Status.ok)]) HI_NORMAL = [("hi3.py", tools.Status.normal), ("hi.py", tools.Status.normal)]