Repository navigation
Catch import errors during run_tests.py doctest - #1909
Merged
Merged
Conversation
See https://github.com/peterjc/flake8-black (I'm using this on another project, so my development machine does have my flake8-black plugin installed.)
Recently added Bio.Graphics.KGML_vis to doctests, and on 64bit Windows Python 2.7 under AppVeyor this is triggering an ImportError.
This is caught when running the doctests via run_tests.py
Member
Author
Member
Author
|
Update: Resolved on re-running TravisCI, this time got -- Recent Python 2.7 style check which passed, This Python 2.7 style check failed (seemingly not picking up the Looks like Going to re-run the TravisCI instance and it will hopefully pickup the just fixed |
Codecov Report
@@ Coverage Diff @@
## master #1909 +/- ##
==========================================
- Coverage 84.98% 84.97% -0.01%
==========================================
Files 310 310
Lines 49913 49921 +8
==========================================
+ Hits 42417 42422 +5
- Misses 7496 7499 +3
Continue to review full report at Codecov.
|
Contributor
Member
Author
3 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This addresses recent AppVeyor failures apparently linked to the inclusion of
Bio.Graphics.KGML_visin the doctests run byrun_tests.pysince #1900, and the version ofpillowinstalled under AppVeyor 64bit Windows Python 2.7, see: #1906 (comment)I could also "fix" this by explicitly installing
pillow==4.2which might be worth doing as well? See e.g.https://ci.appveyor.com/project/peterjc/biopython/builds/21865494
I hereby agree to dual licence this and any previous contributions under both
the Biopython License Agreement AND the BSD 3-Clause License.
I have read the
CONTRIBUTING.rstfile and understand that AppVeyor andTravisCI will be used to confirm the Biopython unit tests and
flake8stylechecks pass with these changes.
I have added my name to the alphabetical contributors listings in the files
NEWS.rstandCONTRIB.rstas part of this pull request, am listedalready, or do not wish to be listed. (This acknowledgement is optional.)