Skip to content
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

Use custom main instead of PhysicsModel in test-communications #1983

Merged
merged 3 commits into from
Mar 26, 2020

Conversation

johnomotani
Copy link
Contributor

Avoids error from Pvode solver which checks whether anything is being evolved - partial fix for #1982. Also generally neater not to use PhysicsModel when we don't actually need time-evolution.

Also adds test-communications to the CMake build.

Most of the lines changed are just whitespace due to a change of indentation in updating test-communications.cxx.

Avoids error from Pvode solver which checks whether anything is being
evolved. Also generally neater.

Also adds test-communications to the CMake build.
@johnomotani johnomotani added bugfix small-change Changes less than 100 lines - should be quick to review labels Mar 23, 2020
ZedThree
ZedThree previously approved these changes Mar 23, 2020
dschwoerer
dschwoerer previously approved these changes Mar 23, 2020
Copy link
Contributor

@dschwoerer dschwoerer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, that fixes it 👍

dschwoerer
dschwoerer previously approved these changes Mar 24, 2020
Copy link
Contributor

@dschwoerer dschwoerer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks 👍

ZedThree
ZedThree previously approved these changes Mar 24, 2020
@ZedThree
Copy link
Member

Failing on Travis because the python f-strings require 3.6, and Ubuntu 16 is stuck on 3.5.

We could upgrade Travis to use Bionic (Ubuntu 18), which has python 3.6, but then we'd be dropping support for everyone else too. I'm not opposed to doing that, but we probably want some wider discussion.

Please could you change this to use .format instead?

f-strings are only supported by Python>=3.6
@johnomotani johnomotani dismissed stale reviews from ZedThree and dschwoerer via 8e16840 March 24, 2020 15:39
@ZedThree
Copy link
Member

Thanks @johnomotani ! 👍

@ZedThree
Copy link
Member

Tests have passed, just not reported correctly

@ZedThree ZedThree merged commit 28c2c3b into next Mar 26, 2020
@ZedThree ZedThree deleted the fix-test-communications branch March 26, 2020 11:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix small-change Changes less than 100 lines - should be quick to review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants