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: README.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,7 @@ class User:
48
48
This is a dummy example, meaning that how exactly the User and their methods are implemented does not really matter; what we actually care about here is how to test this code given the above implementation.
49
49
Say we'd like to test the `is_relative_to` method with pairs of User names and surnames using the standard `unittest` library.
50
50
So, here's an example of how we could do that as simply as possible:
51
-
## unittest
51
+
## std unittest
52
52
53
53
```py
54
54
from unittest import main, TestCase
@@ -108,11 +108,11 @@ class TestIsRelativeToSameName(TestCase):
0 commit comments