File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -478,8 +478,8 @@ def test_lightning_cli_print_config():
478478 "any.py" ,
479479 "predict" ,
480480 "--seed_everything=1234" ,
481- "--model=lightning.pytorch.demos.boring_classes. BoringModel" ,
482- "--data=lightning.pytorch.demos.boring_classes. BoringDataModule" ,
481+ "--model=lightning.pytorch.demos.BoringModel" ,
482+ "--data=lightning.pytorch.demos.BoringDataModule" ,
483483 "--print_config" ,
484484 ]
485485 out = StringIO ()
@@ -492,8 +492,8 @@ def test_lightning_cli_print_config():
492492
493493 outval = yaml .safe_load (text )
494494 assert outval ["seed_everything" ] == 1234
495- assert outval ["model" ]["class_path" ] == "lightning.pytorch.demos.boring_classes. BoringModel"
496- assert outval ["data" ]["class_path" ] == "lightning.pytorch.demos.boring_classes. BoringDataModule"
495+ assert outval ["model" ]["class_path" ] == "lightning.pytorch.demos.BoringModel"
496+ assert outval ["data" ]["class_path" ] == "lightning.pytorch.demos.BoringDataModule"
497497 assert outval ["ckpt_path" ] is None
498498
499499
You can’t perform that action at this time.
0 commit comments