diff options
author | Picca Frédéric-Emmanuel <picca@synchrotron-soleil.fr> | 2018-07-31 16:22:25 +0200 |
---|---|---|
committer | Picca Frédéric-Emmanuel <picca@synchrotron-soleil.fr> | 2018-07-31 16:22:25 +0200 |
commit | 159ef14fb9e198bb0066ea14e6b980f065de63dd (patch) | |
tree | bc37c7d4ba09ee59deb708897fa0571709aec293 /silx/gui/plot/test/utils.py | |
parent | 270d5ddc31c26b62379e3caa9044dd75ccc71847 (diff) |
New upstream version 0.8.0+dfsg
Diffstat (limited to 'silx/gui/plot/test/utils.py')
-rw-r--r-- | silx/gui/plot/test/utils.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/silx/gui/plot/test/utils.py b/silx/gui/plot/test/utils.py index ec9bc7c..efba39c 100644 --- a/silx/gui/plot/test/utils.py +++ b/silx/gui/plot/test/utils.py @@ -1,7 +1,7 @@ # coding: utf-8 # /*########################################################################## # -# Copyright (c) 2016 European Synchrotron Radiation Facility +# Copyright (c) 2016-2018 European Synchrotron Radiation Facility # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -48,11 +48,12 @@ class PlotWidgetTestCase(TestCaseQt): __screenshot_already_taken = False - def __init__(self, methodName='runTest'): + def __init__(self, methodName='runTest', backend=None): TestCaseQt.__init__(self, methodName=methodName) + self.__backend = backend def _createPlot(self): - return PlotWidget() + return PlotWidget(backend=self.__backend) def setUp(self): super(PlotWidgetTestCase, self).setUp() |