Skip to content

Commit

Permalink
fix import of warnings.warn (#6840)
Browse files Browse the repository at this point in the history
* fix import of warnings.warn

never part of the traitlets API

* remove yanked codecov
  • Loading branch information
minrk authored and holzman committed Sep 14, 2023
1 parent 3797497 commit 76821b8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
${{ runner.os }}-pip-
- name: Install the Python dependencies
run: |
pip install -e .[test] codecov
pip install -e .[test]
pip install -r docs/doc-requirements.txt
wget https://github.com/jgm/pandoc/releases/download/1.19.1/pandoc-1.19.1-1-amd64.deb && sudo dpkg -i pandoc-1.19.1-1-amd64.deb
- name: List installed packages
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
${{ runner.os }}-pip-
- name: Install the Python dependencies
run: |
pip install -e .[test] codecov
pip install -e .[test]
- name: List installed packages
run: |
pip freeze
Expand All @@ -48,6 +48,3 @@ jobs:
- name: Run Integration Tests
run: |
pytest -v notebook/tests/test_notebookapp_integration.py --integration_tests
- name: Coverage
run: |
codecov
3 changes: 2 additions & 1 deletion notebook/traittypes.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import inspect
from traitlets import ClassBasedTraitType, Undefined, warn
from warnings import warn
from traitlets import ClassBasedTraitType, Undefined

# Traitlet's 5.x includes a set of utilities for building
# description strings for objects. Traitlets 5.x does not
Expand Down

0 comments on commit 76821b8

Please sign in to comment.