Commit Graph

61 Commits

Author SHA1 Message Date
Abubakar Abid
424d390319 fixed tests so they do not trigger analytics 2021-11-09 08:48:55 -06:00
AK391
403bc1e84a
Merge branch 'gradio-app:master' into master 2021-10-26 18:25:22 -04:00
Abubakar Abid
708838ff5d added ipython to testing dependency 2021-10-26 13:28:39 -05:00
Abubakar Abid
44f5600fd5 made ipython tests skipped if not imported 2021-10-26 13:20:18 -05:00
AK391
3c3a33d3c5 test update inferface 2021-10-25 15:29:55 -04:00
Abubakar Abid
4d11db59ee removed stale comment 2021-10-22 07:20:03 -05:00
AK391
6608a4042f test changes 2021-10-21 17:30:32 -04:00
AK391
a109ae25f4 test update util 2021-10-20 13:19:39 -04:00
AK391
86f79bb6d6
Update test_utils.py 2021-10-20 12:33:25 -04:00
Abubakar Abid
9ed2f1fe29 fixed warnings & unittests 2021-09-14 10:28:55 -05:00
Pradyumna Rahul
c4eeac0ca4 Adds clauses for specific exceptions in version check (#261)
When any exceptions occurs in the "try" block of the code, it would
handle it the same way regardless.
In the `version_check`, there are 4 possibilities for an error to
occur. These are as follows:
1) Gradio package is installed improperly due to which the version information is inaccessible.
2) JSON cannot be parsed from the Package version URL.
3) JSON that is parsed from the URL does not contain version information.
4) The Package URL is not accessible.

Refactored method to handle these cases and provide appropriate messages.

Co-authored-by: Pradyumna Rahul <pradyumnar@Pradyumnas-MacBook-Pro.local>
2021-09-02 14:01:51 -07:00