mirror of
https://github.com/jupyter/notebook.git
synced 2025-04-06 13:50:29 +08:00
fix import of warnings.warn (#6840)
* fix import of warnings.warn never part of the traitlets API * remove yanked codecov
This commit is contained in:
parent
64e7c061e0
commit
fa1f3e42b2
2
.github/workflows/docs.yml
vendored
2
.github/workflows/docs.yml
vendored
@ -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
|
||||
|
5
.github/workflows/python.yml
vendored
5
.github/workflows/python.yml
vendored
@ -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
|
||||
@ -48,6 +48,3 @@ jobs:
|
||||
- name: Run Integration Tests
|
||||
run: |
|
||||
pytest -v notebook/tests/test_notebookapp_integration.py --integration_tests
|
||||
- name: Coverage
|
||||
run: |
|
||||
codecov
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user