Fix examples/hdf5.py to work properly with --test
This commit is contained in:
parent
03c01d3b32
commit
63f3b0ab6e
@ -25,8 +25,7 @@ if len(sys.argv) > 1:
|
||||
else:
|
||||
fileName = 'test.hdf5'
|
||||
if not os.path.isfile(fileName):
|
||||
print("No suitable HDF5 file found. Use createFile() to generate an example file.")
|
||||
os._exit(1)
|
||||
raise Exception("No suitable HDF5 file found. Use createFile() to generate an example file.")
|
||||
|
||||
plt = pg.plot()
|
||||
plt.setWindowTitle('pyqtgraph example: HDF5 big data')
|
||||
|
Loading…
Reference in New Issue
Block a user