fract4d / gnofract4d

A fractal generation program for linux
Other
116 stars 27 forks source link

Ensure testGetCoolorUrl() closes test.ase #245

Closed cjmayo closed 3 years ago

cjmayo commented 3 years ago

Fixes:

fract4d/tests/test_gradient.py::Test::testGetCoolorUrl
  /usr/lib/python3.10/unittest/case.py:549: ResourceWarning: unclosed file <_io.BufferedReader name='testdata/test.ase'>
    method()
cjmayo commented 3 years ago

I did have after_n_builds: 5 before, but something seemed wrong. Can't have been that though:

      - name: Upload coverage to Codecov
        if: ${{ matrix.toxenv == 'py' }}
        uses: codecov/codecov-action@v2
        with:
          files: ./coverage.xml
          env_vars: OS,PYTHON
codecov[bot] commented 3 years ago

Codecov Report

Merging #245 (a0363dc) into master (935cfac) will decrease coverage by 0.00%. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #245      +/-   ##
==========================================
- Coverage   85.93%   85.92%   -0.01%     
==========================================
  Files          55       55              
  Lines       10392    10392              
==========================================
- Hits         8930     8929       -1     
- Misses       1462     1463       +1     
Impacted Files Coverage Δ
fract4dgui/gtkfractal.py 82.97% <0.00%> (-0.22%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 935cfac...a0363dc. Read the comment docs.