Python Forum
Dictionary lookups exercise (PyBite #109)
Thread Rating:
  • 3 Vote(s) - 2.67 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Dictionary lookups exercise (PyBite #109)
#12
(Jul-17-2020, 03:24 PM)ibreeden Wrote: Testing, testing. testing. That is what one needs to do when writing code. So I strongly advise to temporarily add a line to your code so you can see the result. Not needed to run the full assertion test every time, too much output.

If there are unit tests, they should be run. That's the point of them! If there's too much output, there's something wrong. You should see if the tests have passed, or in the case of the failure, why the assertion failed, etc.
Reply


Messages In This Thread
RE: Dictionary lookups exercise (PyBite #109) - by ndc85430 - Jul-18-2020, 04:02 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Type conversion and exception handling (PyBite #110) Drone4four 5 38,421 Jul-27-2020, 11:33 AM
Last Post: DeaD_EyE
  Iterating over dictionaries with the namedtuple function (PyBite #108) Drone4four 7 4,948 Jul-15-2020, 04:23 AM
Last Post: ndc85430
  Dictionary based exercise garvind25 2 2,042 Jul-12-2020, 06:53 PM
Last Post: garvind25
  "Slicing and dicing strings" - - PyBite #105 Drone4four 8 4,566 Jun-11-2020, 09:28 PM
Last Post: knackwurstbagel

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020