mirror of
https://github.com/gradio-app/gradio.git
synced 2025-03-07 11:46:51 +08:00
Merge branch 'gradio-app:master' into master
This commit is contained in:
commit
09e7f264f1
4
codecov.yml
Normal file
4
codecov.yml
Normal file
@ -0,0 +1,4 @@
|
||||
coverage:
|
||||
range: 0..100
|
||||
round: down
|
||||
precision: 2
|
@ -566,7 +566,8 @@ class TestTimeseries(unittest.TestCase):
|
||||
|
||||
|
||||
class TestNames(unittest.TestCase):
|
||||
def test_no_duplicate_uncased_names(self): # this ensures that get_input_instance() works correctly when instantiating from components
|
||||
# this ensures that `inputs.get_input_instance()` works correctly when instantiating from components
|
||||
def test_no_duplicate_uncased_names(self):
|
||||
subclasses = gr.inputs.InputComponent.__subclasses__()
|
||||
unique_subclasses_uncased = set([s.__name__.lower() for s in subclasses])
|
||||
self.assertEqual(len(subclasses), len(unique_subclasses_uncased))
|
||||
|
Loading…
Reference in New Issue
Block a user