[tests] further fix Tester object has no attribute '_testMethodName' (#35781)
* bug fix * update with more cases * more entries * Fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
This commit is contained in:
@@ -33,7 +33,7 @@ if is_vision_available():
|
||||
from transformers import GLPNImageProcessor
|
||||
|
||||
|
||||
class GLPNImageProcessingTester(unittest.TestCase):
|
||||
class GLPNImageProcessingTester:
|
||||
def __init__(
|
||||
self,
|
||||
parent,
|
||||
@@ -46,7 +46,6 @@ class GLPNImageProcessingTester(unittest.TestCase):
|
||||
size_divisor=32,
|
||||
do_rescale=True,
|
||||
):
|
||||
super().__init__()
|
||||
self.parent = parent
|
||||
self.batch_size = batch_size
|
||||
self.num_channels = num_channels
|
||||
|
||||
Reference in New Issue
Block a user