-
Notifications
You must be signed in to change notification settings - Fork 211
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
Python2 Strings to Python3 Strings #1608
Conversation
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.
Please change the name of the PR to reflect it's purpose.
d4ac0b7
to
7f884ec
Compare
I have rebased to master to resolve conflicts and ran scripts_regression_tests.py on cheyenne. |
@jedwards4b hmmm, so did I and it looks like it took your changes instead of mine. There was a place in wait_for_tests.py which had a repeated format, so I changed it in favor of using the indexed format. I wonder what happened to my push? |
Yep, now I can't pull. |
After a rebase you need to reset your local to the remote |
Made all initial string conversions and print conversion, however no testing has been done.
In the last commit I accidentally over wrote some work before I commited. This is still untested.
I have done a bunch of fixes after an initial test. There are still plenty more errors, but I wanted to handle a handful at a time.
After running pylint a few times I have addressed most of the glaring issues. Now it is time to run a full test suite.
All files now pass the pylint test. Onto scripts_regression_tests.py.
When I was converting strings I broke the test scripts. I have done a checkout of the original scripts to make sure things are working correctly. However, other things broke. I will probably start from the beginning and try small incremental changes first.
Had to do a massive bisection to find which files were causing failures. After extensive work I have corrected all issues and all tests pass.
Had to do a massive bisection to find which files were causing failures. After extensive work I have corrected all issues and all tests pass.
Changed it so that instead of repeating an item more than once in format. we repeat the item in the string, e.g. {0} {0}...
Okay, hurry things are not conflicting. lol |
This PR changes all python2 style strings to python3 style strings. It does not change the scripts_regression_tests.py script nor the code_checker script.
Test suite: code_checker and scripts_regression_tests.py
Test baseline:
Test namelist changes:
Test status: bit for bit
Fixes #1492
User interface changes?:
Code review: @jgfouca @jedwards4b