made GSD windows support optional, now raises Error#2090
made GSD windows support optional, now raises Error#2090tylerjereddy merged 1 commit intodevelopfrom
Conversation
|
@tylerjereddy I don't have a windows box, but I think this should work.. some tests will need to be marked as xfail for windows (if they're not already) |
tylerjereddy
left a comment
There was a problem hiding this comment.
Looks like the os checks are reversed -- interestingly, I only had to fix one of them, in topology path, to get tests to pass on win locally, but probably best to adjust both.
| from . import null | ||
| from . import dummy | ||
|
|
||
| if not os.name == 'nt': |
| from . import GSDParser | ||
| from . import MinimalParser | ||
|
|
||
| if not os.name == 'nt': |
b05f2eb to
be2d47e
Compare
Codecov Report
@@ Coverage Diff @@
## develop #2090 +/- ##
===========================================
- Coverage 89.41% 89.41% -0.01%
===========================================
Files 159 159
Lines 18731 18737 +6
Branches 2696 2698 +2
===========================================
+ Hits 16749 16753 +4
Misses 1381 1381
- Partials 601 603 +2
Continue to review full report at Codecov.
|
|
Ok my last fix wasn't any good as it changed the namespace (ie |
tylerjereddy
left a comment
There was a problem hiding this comment.
LGTM now -- I don't think we need to worry too much about the coverage failures; I suppose we could check for the exception raising on windows if we really wanted.
Once this is merged I think we can remove the gsd pip install from appveyor; this may also mean that 2.7 becomes tractable on Windows too since I think issues there were related primarily to gsd.
|
Ok, in it goes. I think we can safely ignore codecov patch diff coverage being a little off target here. This should mean we can safely remove |
Fixes #1923
Changes made in this Pull Request:
PR Checklist