Update versioneer #808
4 fail, 6 skipped, 1 039 pass in 38m 55s
22 files 22 suites 38m 55s ⏱️
1 049 tests 1 039 ✅ 6 💤 4 ❌
10 430 runs 10 355 ✅ 63 💤 12 ❌
Results for commit 3f745f8.
Annotations
Check warning on line 0 in script_tests.test_brille_convergence.TestRegression
github-actions / Test Results
3 out of 10 runs failed: test_brille_conv_plots[brille_conv_args0] (script_tests.test_brille_convergence.TestRegression)
artifacts/Unit test results macos-latest/junit_report_1705680280.xml [took 0s]
artifacts/Unit test results ubuntu-latest/junit_report_1705680029.xml [took 0s]
artifacts/Unit test results windows-latest/junit_report_1705680261.xml [took 0s]
Raw output
TypeError: 'NoneType' object is not callable
self = <tests_and_analysis.test.script_tests.test_brille_convergence.TestRegression object at 0x12c2ac750>
inject_mocks = None
brille_conv_args = ['/Users/runner/work/Euphonic/Euphonic/tests_and_analysis/test/data/castep_files/graphite/graphite.castep_bin', '--npts=3', '--brille-npts=10']
@pytest.mark.parametrize('brille_conv_args', brille_conv_params)
def test_brille_conv_plots(
self, inject_mocks, brille_conv_args):
> self.run_brille_conv_and_test_result(brille_conv_args)
script_tests/test_brille_convergence.py:121:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
script_tests/test_brille_convergence.py:54: in run_brille_conv_and_test_result
all_plot_data = get_all_plot_line_data(figs)
script_tests/utils.py:71: in get_all_plot_line_data
data.append(get_plot_line_data(fig))
script_tests/utils.py:42: in get_plot_line_data
data = get_fig_label_data(fig)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
fig = <Figure size 640x480 with 1 Axes>
def get_fig_label_data(fig) -> Dict[str, Union[str, List[str]]]:
label_data = {'x_ticklabels': [],
'x_label': [],
'y_label': [],
'title': fig._suptitle.get_text() \
if fig._suptitle is not None else None}
# Get axis/tick labels from all axes, collect only non-empty values
# to avoid breaking tests if the way we set up axes changes
for ax in fig.axes:
xlabel = ax.get_xlabel()
if xlabel:
label_data['x_label'].append(xlabel)
ylabel = ax.get_ylabel()
if ylabel:
label_data['y_label'].append(ylabel)
if '3D' in type(ax).__name__:
zlabel = ax.get_zlabel()
if 'z_label' not in label_data:
label_data['z_label'] = []
if zlabel:
label_data['z_label'].append(zlabel)
# Collect tick labels from visible axes only,
# we don't care about invisible axis tick labels
> if ax.get_frame_on():
E TypeError: 'NoneType' object is not callable
script_tests/utils.py:99: TypeError
Check warning on line 0 in script_tests.test_brille_convergence.TestRegression
github-actions / Test Results
3 out of 10 runs failed: test_brille_conv_plots[brille_conv_args1] (script_tests.test_brille_convergence.TestRegression)
artifacts/Unit test results macos-latest/junit_report_1705680280.xml [took 0s]
artifacts/Unit test results ubuntu-latest/junit_report_1705680029.xml [took 0s]
artifacts/Unit test results windows-latest/junit_report_1705680261.xml [took 0s]
Raw output
TypeError: 'NoneType' object is not callable
self = <tests_and_analysis.test.script_tests.test_brille_convergence.TestRegression object at 0x12c2ad4d0>
inject_mocks = None
brille_conv_args = ['/Users/runner/work/Euphonic/Euphonic/tests_and_analysis/test/data/castep_files/graphite/graphite.castep_bin', '--npts=3', '--brille-npts=10', '--eb=0.5', '--shape=lorentz']
@pytest.mark.parametrize('brille_conv_args', brille_conv_params)
def test_brille_conv_plots(
self, inject_mocks, brille_conv_args):
> self.run_brille_conv_and_test_result(brille_conv_args)
script_tests/test_brille_convergence.py:121:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
script_tests/test_brille_convergence.py:54: in run_brille_conv_and_test_result
all_plot_data = get_all_plot_line_data(figs)
script_tests/utils.py:71: in get_all_plot_line_data
data.append(get_plot_line_data(fig))
script_tests/utils.py:42: in get_plot_line_data
data = get_fig_label_data(fig)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
fig = <Figure size 640x480 with 1 Axes>
def get_fig_label_data(fig) -> Dict[str, Union[str, List[str]]]:
label_data = {'x_ticklabels': [],
'x_label': [],
'y_label': [],
'title': fig._suptitle.get_text() \
if fig._suptitle is not None else None}
# Get axis/tick labels from all axes, collect only non-empty values
# to avoid breaking tests if the way we set up axes changes
for ax in fig.axes:
xlabel = ax.get_xlabel()
if xlabel:
label_data['x_label'].append(xlabel)
ylabel = ax.get_ylabel()
if ylabel:
label_data['y_label'].append(ylabel)
if '3D' in type(ax).__name__:
zlabel = ax.get_zlabel()
if 'z_label' not in label_data:
label_data['z_label'] = []
if zlabel:
label_data['z_label'].append(zlabel)
# Collect tick labels from visible axes only,
# we don't care about invisible axis tick labels
> if ax.get_frame_on():
E TypeError: 'NoneType' object is not callable
script_tests/utils.py:99: TypeError
Check warning on line 0 in script_tests.test_brille_convergence.TestRegression
github-actions / Test Results
3 out of 10 runs failed: test_brille_conv_plots[brille_conv_args2] (script_tests.test_brille_convergence.TestRegression)
artifacts/Unit test results macos-latest/junit_report_1705680280.xml [took 0s]
artifacts/Unit test results ubuntu-latest/junit_report_1705680029.xml [took 0s]
artifacts/Unit test results windows-latest/junit_report_1705680261.xml [took 0s]
Raw output
TypeError: 'NoneType' object is not callable
self = <tests_and_analysis.test.script_tests.test_brille_convergence.TestRegression object at 0x12c2ad210>
inject_mocks = None
brille_conv_args = ['/Users/runner/work/Euphonic/Euphonic/tests_and_analysis/test/data/castep_files/graphite/graphite.castep_bin', '--npts=3', '--brille-npts', '10', '15']
@pytest.mark.parametrize('brille_conv_args', brille_conv_params)
def test_brille_conv_plots(
self, inject_mocks, brille_conv_args):
> self.run_brille_conv_and_test_result(brille_conv_args)
script_tests/test_brille_convergence.py:121:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
script_tests/test_brille_convergence.py:54: in run_brille_conv_and_test_result
all_plot_data = get_all_plot_line_data(figs)
script_tests/utils.py:71: in get_all_plot_line_data
data.append(get_plot_line_data(fig))
script_tests/utils.py:42: in get_plot_line_data
data = get_fig_label_data(fig)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
fig = <Figure size 640x480 with 1 Axes>
def get_fig_label_data(fig) -> Dict[str, Union[str, List[str]]]:
label_data = {'x_ticklabels': [],
'x_label': [],
'y_label': [],
'title': fig._suptitle.get_text() \
if fig._suptitle is not None else None}
# Get axis/tick labels from all axes, collect only non-empty values
# to avoid breaking tests if the way we set up axes changes
for ax in fig.axes:
xlabel = ax.get_xlabel()
if xlabel:
label_data['x_label'].append(xlabel)
ylabel = ax.get_ylabel()
if ylabel:
label_data['y_label'].append(ylabel)
if '3D' in type(ax).__name__:
zlabel = ax.get_zlabel()
if 'z_label' not in label_data:
label_data['z_label'] = []
if zlabel:
label_data['z_label'].append(zlabel)
# Collect tick labels from visible axes only,
# we don't care about invisible axis tick labels
> if ax.get_frame_on():
E TypeError: 'NoneType' object is not callable
script_tests/utils.py:99: TypeError
Check warning on line 0 in script_tests.test_brille_convergence.TestRegression
github-actions / Test Results
3 out of 10 runs failed: test_brille_conv_plots[brille_conv_args3] (script_tests.test_brille_convergence.TestRegression)
artifacts/Unit test results macos-latest/junit_report_1705680280.xml [took 3s]
artifacts/Unit test results ubuntu-latest/junit_report_1705680029.xml [took 2s]
artifacts/Unit test results windows-latest/junit_report_1705680261.xml [took 3s]
Raw output
TypeError: 'NoneType' object is not callable
self = <tests_and_analysis.test.script_tests.test_brille_convergence.TestRegression object at 0x12c2adb50>
inject_mocks = None
brille_conv_args = ['/Users/runner/work/Euphonic/Euphonic/tests_and_analysis/test/data/phonopy_files/NaCl_prim/phonopy_nacl.yaml', '--npts=3', '--brille-npts=10', '-n=2', '--ebins=5', '--e-min=80', ...]
@pytest.mark.parametrize('brille_conv_args', brille_conv_params)
def test_brille_conv_plots(
self, inject_mocks, brille_conv_args):
> self.run_brille_conv_and_test_result(brille_conv_args)
script_tests/test_brille_convergence.py:121:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
script_tests/test_brille_convergence.py:54: in run_brille_conv_and_test_result
all_plot_data = get_all_plot_line_data(figs)
script_tests/utils.py:71: in get_all_plot_line_data
data.append(get_plot_line_data(fig))
script_tests/utils.py:42: in get_plot_line_data
data = get_fig_label_data(fig)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
fig = <Figure size 640x480 with 1 Axes>
def get_fig_label_data(fig) -> Dict[str, Union[str, List[str]]]:
label_data = {'x_ticklabels': [],
'x_label': [],
'y_label': [],
'title': fig._suptitle.get_text() \
if fig._suptitle is not None else None}
# Get axis/tick labels from all axes, collect only non-empty values
# to avoid breaking tests if the way we set up axes changes
for ax in fig.axes:
xlabel = ax.get_xlabel()
if xlabel:
label_data['x_label'].append(xlabel)
ylabel = ax.get_ylabel()
if ylabel:
label_data['y_label'].append(ylabel)
if '3D' in type(ax).__name__:
zlabel = ax.get_zlabel()
if 'z_label' not in label_data:
label_data['z_label'] = []
if zlabel:
label_data['z_label'].append(zlabel)
# Collect tick labels from visible axes only,
# we don't care about invisible axis tick labels
> if ax.get_frame_on():
E TypeError: 'NoneType' object is not callable
script_tests/utils.py:99: TypeError