File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -575,11 +575,12 @@ def test_env_export_history(self):
575
575
576
576
content = " " .join (r .text .splitlines ())
577
577
self .assertRegex (
578
- content , r"^name:\s" + n + r"\s+channels:\s+- python\s+prefix:"
578
+ content , r"^name:\s" + n + r"\s+channels:\s+- defaults\s+dependencies:\s+- python\s+prefix:"
579
579
)
580
580
581
581
def test_env_export_not_supporting_history (self ):
582
- EnvManager ._conda_version = (3 , 6 , 0 )
582
+ manager = TestEnvironmentHandler .notebook .web_app .settings ["env_manager" ]
583
+ manager ._conda_version = (4 , 6 , 0 )
583
584
584
585
try :
585
586
n = generate_name ()
@@ -596,7 +597,7 @@ def test_env_export_not_supporting_history(self):
596
597
self .assertRegex (content , r"- python=\d\.\d+\.\d+=\w+" )
597
598
self .assertRegex (content , r"prefix:" )
598
599
finally :
599
- EnvManager ._conda_version = None
600
+ manager ._conda_version = None
600
601
601
602
602
603
class TestCondaVersion (JupyterCondaAPITest ):
You can’t perform that action at this time.
0 commit comments