For example, the following code after I want to change a value, printed after the change of a value, can be achieved?
Data_dict=[{10, 'a' : 'b' : 20, 'c' : 30}, {11, 'a' : 'b' : 21, 'c' : 31}, {12, 'a' : 'b' : 22, 'c' : 32}]
@ DDT. DDT
The class MyClass (unittest. TestCase) :
Data_dict @ DDT. Data (*)
Def test1 (self, data) :
Print (data)
Data [' a ']=22
Print (data_dict)
If __name__=="__main__ ':
Unittest. The main ()