Skip to content

Commit bbd2f9d

Browse files
authored
[tests] fix typo in pag tests (#8845)
* fix typo in pag tests * fix typo
1 parent d704b3b commit bbd2f9d

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

tests/pipelines/pag/test_pag_controlnet_sd.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ def test_pag_disable_enable(self):
173173
del inputs["pag_scale"]
174174
assert (
175175
"pag_scale" not in inspect.signature(pipe_sd.__call__).parameters
176-
), f"`pag_scale` should not be a call parameter of the base pipeline {pipe_sd.__calss__.__name__}."
176+
), f"`pag_scale` should not be a call parameter of the base pipeline {pipe_sd.__class__.__name__}."
177177
out = pipe_sd(**inputs).images[0, -3:, -3:, -1]
178178

179179
# pag disabled with pag_scale=0.0

tests/pipelines/pag/test_pag_controlnet_sdxl.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ def test_pag_disable_enable(self):
193193
del inputs["pag_scale"]
194194
assert (
195195
"pag_scale" not in inspect.signature(pipe_sd.__call__).parameters
196-
), f"`pag_scale` should not be a call parameter of the base pipeline {pipe_sd.__calss__.__name__}."
196+
), f"`pag_scale` should not be a call parameter of the base pipeline {pipe_sd.__class__.__name__}."
197197
out = pipe_sd(**inputs).images[0, -3:, -3:, -1]
198198

199199
# pag disabled with pag_scale=0.0

tests/pipelines/pag/test_pag_sd.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ def test_pag_disable_enable(self):
157157
del inputs["pag_scale"]
158158
assert (
159159
"pag_scale" not in inspect.signature(pipe_sd.__call__).parameters
160-
), f"`pag_scale` should not be a call parameter of the base pipeline {pipe_sd.__calss__.__name__}."
160+
), f"`pag_scale` should not be a call parameter of the base pipeline {pipe_sd.__class__.__name__}."
161161
out = pipe_sd(**inputs).images[0, -3:, -3:, -1]
162162

163163
# pag disabled with pag_scale=0.0

tests/pipelines/pag/test_pag_sdxl.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ def test_pag_disable_enable(self):
170170
del inputs["pag_scale"]
171171
assert (
172172
"pag_scale" not in inspect.signature(pipe_sd.__call__).parameters
173-
), f"`pag_scale` should not be a call parameter of the base pipeline {pipe_sd.__calss__.__name__}."
173+
), f"`pag_scale` should not be a call parameter of the base pipeline {pipe_sd.__class__.__name__}."
174174
out = pipe_sd(**inputs).images[0, -3:, -3:, -1]
175175

176176
# pag disabled with pag_scale=0.0

0 commit comments

Comments
 (0)