Skip to content

Commit d1491e9

Browse files
authored
Merge pull request #3478 from frenzymadness/fix_test_noinspect
Use `dict` instead of `print` to test callable without signature
2 parents 474bbc9 + 35b9714 commit d1491e9

File tree

5 files changed

+6
-3
lines changed

5 files changed

+6
-3
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,12 +88,12 @@ jobs:
8888
strategy:
8989
max-parallel: 4
9090
matrix:
91-
python-version: ['3.7', '3.8', '3.9', '3.10']
91+
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11-dev']
9292

9393
steps:
9494
- uses: actions/checkout@v2
9595
- name: Set up Python ${{ matrix.python-version }}
96-
uses: actions/setup-python@v1
96+
uses: actions/setup-python@v2
9797
with:
9898
python-version: ${{ matrix.python-version }}
9999
- uses: actions/cache@v1

python/ipywidgets/ipywidgets/widgets/tests/test_interaction.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,7 @@ def test_multiple_selection():
578578

579579
def test_interact_noinspect():
580580
a = 'hello'
581-
c = interactive(print, a=a)
581+
c = interactive(dict, a=a)
582582
w = c.children[0]
583583
check_widget(w,
584584
cls=widgets.Text,

python/ipywidgets/setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ classifiers =
2222
Programming Language :: Python :: 3.8
2323
Programming Language :: Python :: 3.9
2424
Programming Language :: Python :: 3.10
25+
Programming Language :: Python :: 3.11
2526
Programming Language :: Python :: 3 :: Only
2627
Framework :: Jupyter
2728

python/jupyterlab_widgets/setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ classifiers =
2222
Programming Language :: Python :: 3.8
2323
Programming Language :: Python :: 3.9
2424
Programming Language :: Python :: 3.10
25+
Programming Language :: Python :: 3.11
2526
Programming Language :: Python :: 3 :: Only
2627
Framework :: Jupyter
2728
Framework :: Jupyter :: JupyterLab

python/widgetsnbextension/setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ classifiers =
2222
Programming Language :: Python :: 3.8
2323
Programming Language :: Python :: 3.9
2424
Programming Language :: Python :: 3.10
25+
Programming Language :: Python :: 3.11
2526
Programming Language :: Python :: 3 :: Only
2627
Framework :: Jupyter
2728

0 commit comments

Comments
 (0)