Skip to content

Commit

Permalink
Merge pull request #3478 from frenzymadness/fix_test_noinspect
Browse files Browse the repository at this point in the history
Use `dict` instead of `print` to test callable without signature
  • Loading branch information
jasongrout authored Jun 10, 2022
2 parents 474bbc9 + 35b9714 commit d1491e9
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,12 @@ jobs:
strategy:
max-parallel: 4
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10']
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11-dev']

steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- uses: actions/cache@v1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,7 @@ def test_multiple_selection():

def test_interact_noinspect():
a = 'hello'
c = interactive(print, a=a)
c = interactive(dict, a=a)
w = c.children[0]
check_widget(w,
cls=widgets.Text,
Expand Down
1 change: 1 addition & 0 deletions python/ipywidgets/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ classifiers =
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3 :: Only
Framework :: Jupyter

Expand Down
1 change: 1 addition & 0 deletions python/jupyterlab_widgets/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ classifiers =
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3 :: Only
Framework :: Jupyter
Framework :: Jupyter :: JupyterLab
Expand Down
1 change: 1 addition & 0 deletions python/widgetsnbextension/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ classifiers =
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3 :: Only
Framework :: Jupyter

Expand Down

0 comments on commit d1491e9

Please sign in to comment.