1212@pytest .mark .parametrize ("automatic" , [True , False ])
1313def test_build (automatic , summary_network , random_set ):
1414 if summary_network is None :
15- pytest .skip ()
15+ pytest .skip (reason = "Nothing to do, because there is no summary network." )
1616
1717 assert summary_network .built is False
1818
@@ -29,7 +29,7 @@ def test_build(automatic, summary_network, random_set):
2929
3030def test_variable_batch_size (summary_network , random_set ):
3131 if summary_network is None :
32- pytest .skip ()
32+ pytest .skip (reason = "Nothing to do, because there is no summary network." )
3333
3434 # build with one batch size
3535 summary_network .build (keras .ops .shape (random_set ))
@@ -43,7 +43,7 @@ def test_variable_batch_size(summary_network, random_set):
4343
4444def test_variable_set_size (summary_network , random_set ):
4545 if summary_network is None :
46- pytest .skip ()
46+ pytest .skip (reason = "Nothing to do, because there is no summary network." )
4747
4848 # build with one set size
4949 summary_network .build (keras .ops .shape (random_set ))
@@ -58,7 +58,7 @@ def test_variable_set_size(summary_network, random_set):
5858
5959def test_serialize_deserialize (summary_network , random_set ):
6060 if summary_network is None :
61- pytest .skip ()
61+ pytest .skip (reason = "Nothing to do, because there is no summary network." )
6262
6363 summary_network .build (keras .ops .shape (random_set ))
6464
@@ -71,7 +71,7 @@ def test_serialize_deserialize(summary_network, random_set):
7171
7272def test_save_and_load (tmp_path , summary_network , random_set ):
7373 if summary_network is None :
74- pytest .skip ()
74+ pytest .skip (reason = "Nothing to do, because there is no summary network." )
7575
7676 summary_network .build (keras .ops .shape (random_set ))
7777
0 commit comments