Skip to content

Commit

Permalink
Silence deprecation warnings in legacy_py3k tests
Browse files Browse the repository at this point in the history
  • Loading branch information
epsy committed Mar 1, 2015
1 parent a44bda2 commit f2c387b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions clize/tests/test_legacy_py3k.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
# See COPYING for details.


import unittest

from sigtools import modifiers
from clize import clize, errors

from clize.tests.test_legacy import OldInterfaceTests

#from tests import HelpTester

class AnnotationParams(unittest.TestCase):
class AnnotationParams(OldInterfaceTests):
def test_alias(self):
@clize
@modifiers.annotate(one='o')
Expand Down Expand Up @@ -70,7 +70,7 @@ def fn(one=1):
1
)

class AnnotationFailures(unittest.TestCase):
class AnnotationFailures(OldInterfaceTests):
def test_coerce_twice(self):
def test():
@clize
Expand Down Expand Up @@ -98,7 +98,7 @@ def fn(one):
fn.signature
self.assertRaises(ValueError, test)

class KwoargsParams(unittest.TestCase):
class KwoargsParams(OldInterfaceTests):
def test_kwoparam(self):
@clize
@modifiers.kwoargs('one')
Expand Down

0 comments on commit f2c387b

Please sign in to comment.