'With an empty tempdir on non-Linux, we should raise.'

def test_runtimedir_empty_tempdir(self, monkeypatch, tmpdir):

    monkeypatch.setattr(standarddir.sys, 'platform', 'nt')
    monkeypatch.setattr(standarddir.QStandardPaths, 'writableLocation', (lambda typ: ''))
    with pytest.raises(standarddir.EmptyValueError):
        standarddir.runtime()
