Skip to content

Commit

Permalink
Disable async test temporarily
Browse files Browse the repository at this point in the history
  • Loading branch information
dbieber committed Feb 24, 2024
1 parent 1b2f85a commit 612cedb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions fire/fire_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)


Expand Down
2 changes: 1 addition & 1 deletion fire/test_components_py3.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 612cedb

Please sign in to comment.