×

Share "Sprinting"


Here are some tips for getting everything installed:

 

Ubuntu:

If you have some missing packages when running the tests, you can install them by doing

sudo apt-get build-dep python3.4

 

 

Things I did to make a patch for http://bugs.python.org/issue23581 :

  1. Edited the file cpython/Lib/unittest/test/testmock/testmagicmethods.py and added a small test
  2. Tested the unittest module by running ./python -m test test_unittest to see if the new test failed in the way described in the bug-report
  3. Edited the file cpython/Lib/unittest/mock.py (added matmul to numerics)
  4. Ran the test again, now it passed :)
  5. See the changes: hg diff
  6. Make a patch: hg diff > issue23581.patch
  7. Go to bugtracker and submit patch.

 

 

 

 

 

About cookies on this site

We and our partners use technology such as cookies on our site to personalise content and ads, provide social media features, and analyse our traffic. Click below to consent to the use of this technology across the web. Your consent is valid for 30 days.