diff --git a/Makefile b/Makefile index 61abe68..2e00367 100644 --- a/Makefile +++ b/Makefile @@ -2,6 +2,7 @@ git: /home/g/projects/superhelp/superhelp/env/bin/nosetests sed -i 's/^test_/# test_/' /home/g/projects/superhelp/tests/*.py + sed -i 's/^# test_arg_count.three_/test_arg_count.three_/' /home/g/projects/superhelp/tests/*.py ## easiest to make simple global change and reverse special cases sed -i 's/LOG_LEVEL = logging.DEBUG/LOG_LEVEL = logging.INFO/' /home/g/projects/superhelp/superhelp/conf.py sed -i 's/RECORD_AST = t/RECORD_AST = f/' /home/g/projects/superhelp/superhelp/conf.py sed -i 's/DO_HTML = f/DO_HTML = t/' /home/g/projects/superhelp/superhelp/conf.py diff --git a/README.md b/README.md index 1887383..a91c721 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ ![Example HTML output](https://github.com/grantps/superhelp/raw/master/superhelp_logo_padded_small.png) -version number: 0.9.34 +version number: 1.0.0 author: Grant Paton-Simpson ## Overview diff --git a/setup.py b/setup.py index 8d411d5..de7cb94 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from codecs import open from os import path -__version__ = '0.9.34' +__version__ = '1.0.0' here = path.abspath(path.dirname(__file__)) diff --git a/tests/test_funcs.py b/tests/test_funcs.py index 47bde32..875d6a1 100644 --- a/tests/test_funcs.py +++ b/tests/test_funcs.py @@ -238,7 +238,6 @@ def test_arg_count(): Testing positional-only arguments so Python 3.8+ only """ xpath = 'descendant-or-self::FunctionDef' - inc_posonly_func_snippet = dedent("""\ def multifunc(posonly_arg1=1, posonly_arg2=[], /, arg1=2, arg2=3, arg3=[], *, kwonly_arg1={}): @@ -261,5 +260,7 @@ def multifunc(arg1, arg2, arg3, arg4, arg5, arg6, arg7): actual_result = get_actual_result(snippet, xpath, test_func) assert_equal(expected_result, actual_result) +test_arg_count.three_point_seven_plus_only = True + # test_misc() # test_arg_count()