Skip to content

Commit

Permalink
Test cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: Travis F. Collins <[email protected]>
  • Loading branch information
tfcollins committed Aug 29, 2019
1 parent 5564ee2 commit d420fef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/test_pluto.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ def check_pluto():
for c in contexts:
if "PlutoSDR" in contexts[c]:
return True
break
# Try auto discover
try:
ctx = iio.Context("ip:pluto.local")
iio.Context("ip:pluto.local")
return True
except:
except Exception as e:
print(e)
return False


Expand Down

0 comments on commit d420fef

Please sign in to comment.