##// END OF EJS Templates
cleanup
Matthias Bussonnier -
Show More
@@ -10,10 +10,10 b' on:'
10 10 branches: [ master, 7.x ]
11 11
12 12 jobs:
13 build:
13 formatting:
14 14
15 15 runs-on: ubuntu-latest
16 timeout-minutes: 10
16 timeout-minutes: 5
17 17 strategy:
18 18 matrix:
19 19 python-version: [3.8]
@@ -29,7 +29,7 b' jobs:'
29 29 - name: Install dependencies
30 30 run: |
31 31 python -m pip install --upgrade pip
32 pip install darker isort
32 pip install darker
33 33 - name: Lint with darker
34 34 run: |
35 35 darker -r 60625f241f298b5039cb2debc365db38aa7bb522 --check --diff . || (
@@ -1339,11 +1339,11 b' def test_run_module_from_import_hook():'
1339 1339 return importlib.util.spec_from_loader(fullname, self)
1340 1340
1341 1341 def get_filename(self, fullname):
1342 assert fullname == "my_tmp":
1342 assert fullname == "my_tmp"
1343 1343 return fullpath
1344 1344
1345 1345 def get_data(self, path):
1346 assert Path(path).samefile(fullpath):
1346 assert Path(path).samefile(fullpath)
1347 1347 return Path(fullpath).read_text()
1348 1348
1349 1349 sys.meta_path.insert(0, MyTempImporter())
General Comments 0
You need to be logged in to leave comments. Login now