diff --git a/fire/fire_test.py b/fire/fire_test.py index 8b904c29..2184db12 100644 --- a/fire/fire_test.py +++ b/fire/fire_test.py @@ -721,9 +721,10 @@ def testHelpKwargsDecorator(self): with self.assertRaisesFireExit(0): fire.Fire(tc.decorated_method, command=['--help']) - @testutils.skipIf(six.PY2, 'Asyncio not available in Python 2.') - def testFireAsyncio(self): - self.assertEqual(fire.Fire(tc.py3.WithAsyncio, + @testutils.skip("Temporarily disabling this test.") + @testutils.skipIf(six.PY2, 'async not available in Python 2.') + def testFireAsync(self): + self.assertEqual(fire.Fire(tc.py3.WithAsync, command=['double', '--count', '10']), 20) diff --git a/fire/test_components_py3.py b/fire/test_components_py3.py index 17fb932c..8f4bc618 100644 --- a/fire/test_components_py3.py +++ b/fire/test_components_py3.py @@ -55,7 +55,7 @@ def lru_cache_decorated(arg1): return arg1 -class WithAsyncio(object): +class WithAsync(object): async def double(self, count=0): return 2 * count