Skip to content

Commit

Permalink
minor depreceation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Chilipp committed Jun 28, 2021
1 parent e1a0943 commit f107279
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions tests/test_funcargparse.py
Expand Up @@ -20,7 +20,6 @@
import unittest
import six
from funcargparse import FuncArgParser, docstrings
from docrep import dedents


class ParserTest(unittest.TestCase):
Expand All @@ -33,7 +32,7 @@ def test_positional(name):
parser = FuncArgParser()
dtype = 'int'
help = 'Just a dummy name'
doc = docstrings.dedents("""
doc = docstrings.dedent("""
Test function for positional argument
Parameters
Expand All @@ -59,7 +58,7 @@ def test_optional(name=default):
parser = FuncArgParser()
dtype = 'int'
help = 'Just a dummy name'
doc = docstrings.dedents("""
doc = docstrings.dedent("""
Test function for positional argument
Parameters
Expand All @@ -82,7 +81,7 @@ def test_switch(name=False):
parser = FuncArgParser()
dtype = 'bool'
help = 'Just a dummy name'
doc = docstrings.dedents("""
doc = docstrings.dedent("""
Test function for positional argument
Parameters
Expand Down Expand Up @@ -219,7 +218,7 @@ def test_switch(name=False, name2=True):
parser = FuncArgParser()
dtype = 'bool'
help = 'Just a dummy name'
doc = docstrings.dedents("""
doc = docstrings.dedent("""
Test function for positional argument
Parameters
Expand Down

0 comments on commit f107279

Please sign in to comment.