Releases: datacamp/pythonwhat
Releases · datacamp/pythonwhat
v2.20.1
v2.20.0
v2.19.0
state
is now the first argument to SCT functions (instead of a keyword argument)- functionality is shared with protowhat:
Reporter
,Chain
,F
and logic SCTs are reusedState
andFeedback
inheritDispatcher
handles parsing (decoupled fromState
)Test
moved
v2.18.1
v2.18.0
v2.8.0
SCT composition with `>>` operator
May now pass a state to Ex
, and use >>
for chaining. E.g.
state = some_state_producing_func()
Ex(state) >> test_student_typed('abc')
# equivalent to
Ex(state).test_student_typed('abc')
allow legacy SCTs to specify copy option
v2.6.1 Create setup.py
option to disable copying in has_expr
pythonwhat tries make deepcopies of some objects, to avoid problems arising from mutation via SCTs.
Now the copy arg can disable deep copying. Should speed up SCTs, but can be scary and dangerous.
E.g. Ex().has_equal_value(copy = False)
bugfix: remove unnecessary root Expr in has_equal_ast
v2.5.1 bump patch version