File tree Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 5
5
6
6
import os
7
7
import re
8
-
9
- from nbformat .warnings import MissingIDFieldWarning
10
8
from copy import deepcopy
11
9
12
- from . base import TestsBase
10
+ import pytest
13
11
from jsonschema import ValidationError
12
+
14
13
from nbformat import read
15
- from ..validator import isvalid , validate , iter_validate
16
- from ..json_compat import VALIDATORS
14
+ from nbformat .warnings import MissingIDFieldWarning
17
15
18
- import pytest
16
+ from ..json_compat import VALIDATORS
17
+ from ..validator import isvalid , iter_validate , validate
18
+ from .base import TestsBase
19
19
20
20
nb4 = ("test4.ipynb" , "test4.5.ipynb" )
21
21
Original file line number Diff line number Diff line change 2
2
# Distributed under the terms of the Modified BSD License.
3
3
4
4
from __future__ import print_function
5
+
5
6
import json
6
7
import os
7
8
import pprint
10
11
from copy import deepcopy
11
12
12
13
from ipython_genutils .importstring import import_item
13
- from .json_compat import get_current_validator , ValidationError
14
- from .reader import get_version , reads
14
+
15
15
from .corpus .words import generate_corpus_id
16
+ from .json_compat import ValidationError , get_current_validator
17
+ from .reader import get_version , reads
16
18
from .warnings import MissingIDFieldWarning
17
19
18
20
validators = {}
You can’t perform that action at this time.
0 commit comments