Modern Python Projects Transcripts
Chapter: CI
Lecture: Source code for this chapter

Login or purchase this course to watch this video and the rest of the course contents.
0:00 I want to show you how to use Tox.
0:02 And for that I need to have some code to actually run and test.
0:06 So I will reuse the simple calculator from the previous chapter.
0:10 I've added the file with some tests,
0:12 so we have three tests that we can run.
0:14 And one thing that is important about this code is that I am using,
0:17 f string in this function and F strings were introduced to python in version 3.6.
0:23 So you will see that when we run on older python version, this code should fail.