You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: slides_sources/source/session05.rst
+29-1Lines changed: 29 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -268,6 +268,20 @@ Anyone look at my solutions?
268
268
269
269
Anything in particular you'd like me to go over?
270
270
271
+
272
+
trigrams
273
+
--------
274
+
275
+
Let's take a close look at trigrams!
276
+
277
+
Some of you have already done a nice solution to this.
278
+
279
+
But some of you are not sure how to start.
280
+
281
+
So let's start from the beginning...
282
+
283
+
(demo)
284
+
271
285
Lightning Talks
272
286
----------------
273
287
@@ -702,7 +716,7 @@ Catch up!
702
716
* Catch up from last week.
703
717
704
718
- Add Exception handling to mailroom
705
-
-andlist (anddict, andset) comprehensions...
719
+
-Andlist (anddict, andset) comprehensions...
706
720
707
721
* If you've done all that -- check out the collections module:
708
722
@@ -713,3 +727,17 @@ Catch up!
713
727
Material to review before next week:
714
728
====================================
715
729
730
+
**Unit Testing:**
731
+
732
+
* Dive into Python: chapter 9:
733
+
http://www.diveintopython3.net/unit-testing.html
734
+
735
+
NOTE: you will find that most introductions to unit testing with Python use the builtin ``unitest`` module. However, it is a bit heavyweight, and requires some knowledge of OOP-- classes, etc. So we'll be using pytest in this class: http://doc.pytest.org/en/latest/. But the principles of testing are the same.
0 commit comments