Skip to content

Commit

Permalink
Enable testing on Python 3.6; bump to version 1.0.0!!!
Browse files Browse the repository at this point in the history
  • Loading branch information
grantps committed May 17, 2020
1 parent 4b1e84a commit 021ffd5
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__))

Expand Down
3 changes: 2 additions & 1 deletion tests/test_funcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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={}):
Expand All @@ -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()

0 comments on commit 021ffd5

Please sign in to comment.