We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9af448e commit 602f089Copy full SHA for 602f089
test/smoke_test/smoke_test.py
@@ -24,9 +24,10 @@ def get_anaconda_output_for_package(pkg_name_str):
24
25
# ignore the header row:
26
# Name Version Build Channel
27
- cmd = 'conda list -f ' + pkg_name_str + ' |tail -n 1 '
+ cmd = 'conda list -f ' + pkg_name_str
28
output = sp.getoutput(cmd)
29
- return output
+ # Get the last line only
30
+ return output.strip().split('\n')[-1]
31
32
# only makes sense to check nightly package where dates are known
33
def check_nightly_binaries_date() -> None:
0 commit comments