New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MRG: CircleCI 2.0 #350
MRG: CircleCI 2.0 #350
Conversation
d4f60aa
to
b80843f
Compare
593b4a2
to
af8a04d
Compare
@drammock ready for review/merge from my end |
I can review this on monday when I'm back in the office |
|
install |
is my version of pytest too old? (maybe we should check for that?) |
No you need both |
test pass in my python3 env, but in my (rarely-used) py2 environment I'm getting an enormous traceback culminating in |
found problem. Old pip-installed version of |
today is not my day:
|
Oh wow, never seen that one before. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
other than one comment LGTM
ex = want_version | ||
if want_version == 'cae6bc3': | ||
ex = (ex, '.dev0+c') | ||
assert got_version in ex, got_fname |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this line I don't get. why is got_fname
here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(i.e., why would the got_version
ever equal the file path, and why would we want to allow that?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In assert
statements what follows the comma is a message (it is not creating a tuple), e.g.:
>>> assert 'dan' in 'cool', 'he is not'
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AssertionError: he is not
In this case it's useful to have the filename printed, especially when using pytest --pdb
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've been pwned
thanks @larsoner |
Closes #349.