@messagebox_on_error("Failed to restore session")
    @set_cursor(Qt.WaitCursor)
    def _restore_session(self, show=True):
        fltr = "Glue sessions (*.glu)"
        file_name, file_filter = QtGui.QFileDialog.getOpenFileName(self,
                                                                   filter=fltr)
        if not file_name:
            return

        ga = self.restore_session(file_name)
        self.close()
        return ga
Tests that use the standard library C{expectedFailure} feature worth
dataset/ETHPy150Open glue-viz/glue/glue/app/qt/application.py/GlueApplication._restore_session--crossover with--dataset/ETHPy150Open twisted/twisted/twisted/trial/test/test_reporter.py/TodoTests.test_standardLibraryCompatibilityFailure