@@ -568,8 +568,8 @@ saves you from having to use `def..():` and an indented block:
568
568
5
569
569
----
570
570
571
- In our case, we're using it to transform a bit of code - that would otherwise be
572
- executed immediately - into a function that we can pass as an argument,
571
+ In our case, we're using it to transform a bit of code-- that would otherwise be
572
+ executed immediately-- into a function that we can pass as an argument,
573
573
and that can be executed later, and multiple times:
574
574
// CSANAD: I think it's easier to read like this.
575
575
@@ -632,14 +632,14 @@ through what happened:
632
632
<1> In our FT, we call our `self.wait_for` helper, where we pass
633
633
the `lambda`-ified version of `assertEqual`.
634
634
635
- <2> We go into `self.wait_for` in `base.py` ,
635
+ <2> We go into `self.wait_for` in _base.py_ ,
636
636
where we're calling (and returning) `fn()`, which refers to the passed
637
637
lambda function encapsulating our test assertion.
638
638
639
639
<3> To explain where the exception has actually come from,
640
640
the traceback takes us back into _test_list_item_validation.py_
641
641
and inside the body of the `lambda` function,
642
- and tells us that the attempt to find the `.invalid-feedback` element
642
+ and tells us that it was attempt to find the `.invalid-feedback` element
643
643
that failed.
644
644
// CSANAD: I changed two things here:
645
645
// First, I think it's better to remove the specific line number which may
0 commit comments