Changeset 1758:ebd10c7d0d1f


Ignore:
Timestamp:
Jan 28, 2019, 8:21:56 PM (3 years ago)
Author:
Stefan Schwarzer <sschwarzer@…>
Branch:
default
Message:
Explain purpose of `init` call
File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/scripted_session.py

    r1757 r1758  
    8080        # Always expect an entry for the constructor.
    8181        init = self._next_call(expected_method_name="__init__")
     82        # The constructor isn't supposed to return anything. The only
     83        # reason to call it here is to raise an exception if that was
     84        # specified in the `script`.
    8285        init()
    8386
Note: See TracChangeset for help on using the changeset viewer.