File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ def setUp(self):
3737 def testSetProfile (self ):
3838 fc = self .fitcontribution
3939 profile = self .profile
40- fc .set_profile (self .profile )
40+ fc .setProfile (self .profile )
4141 # verify standard profile setup
4242 self .assertTrue (fc .profile is profile )
4343 self .assertTrue (fc .x .par is profile .xpar )
@@ -47,11 +47,11 @@ def testSetProfile(self):
4747 self .assertTrue (fc ._reseq is None )
4848 # check type checking
4949 fc1 = FitContribution ("test1" )
50- self .assertRaises (TypeError , fc1 .set_profile , "invalid" )
50+ self .assertRaises (TypeError , fc1 .setProfile , "invalid" )
5151 # check if residual equation is set up when possible
5252 fc2 = FitContribution ("test2" )
5353 fc2 .set_equation ("A * x" )
54- fc2 .set_profile (profile )
54+ fc2 .setProfile (profile )
5555 self .assertFalse (fc2 ._reseq is None )
5656 return
5757
You can’t perform that action at this time.
0 commit comments