Skip to content

Commit

Permalink
Disable wrapped function test for Python 3.4
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 297990663
Change-Id: I0c985fa611d04c764aed34ebfa9af05704d58332
  • Loading branch information
dbieber authored and copybara-github committed Feb 29, 2020
1 parent bb90d16 commit b77f5ae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fire/fire_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,8 @@ def testClassWithInvalidProperty(self):
fire.Fire(tc.InvalidProperty, command=['double', '10']), 20
)

@testutils.skipIf(six.PY2, 'Cannot inspect wrapped signatures in Python 2.')
@testutils.skipIf(sys.version_info[0:2] <= (3, 4),
'Cannot inspect wrapped signatures in Python 2 or 3.4.')
def testHelpKwargsDecorator(self):
# Issue #190, follow the wrapped method instead of crashing.
with self.assertRaisesFireExit(0):
Expand Down

0 comments on commit b77f5ae

Please sign in to comment.