Skip to content

Commit d32ed95

Browse files
committed
debug
1 parent b27e42d commit d32ed95

4 files changed

Lines changed: 4 additions & 1 deletion

File tree

mathics/builtin/fileformats/htmlformat.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
try:
2424
import lxml.html as lhtml
2525
except ImportError:
26+
print("lxml.html is not available...")
2627
pass
2728

2829

mathics/builtin/files_io/importexport.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1192,7 +1192,7 @@ class URLFetch(Builtin):
11921192
= $Failed
11931193
11941194
#> Quiet[URLFetch["https://www.example.com", {}]]
1195-
= $Failed
1195+
= ...
11961196
"""
11971197

11981198
messages = {

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ def read(*rnames):
102102
"requests",
103103
"scikit-image",
104104
"wordcloud", # Used in builtin/image.py by WordCloud()
105+
"lxml", # Used in builtin/fileformats/html
105106
]
106107

107108

test/test_returncode.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ def get_testdir():
77
return osp.realpath(filename)
88

99
def test_returncode():
10+
subprocess.run(["dir", r"..\builtins\fileformats"])
1011
assert subprocess.run(["mathics", "-e", "Quit[5]"]).returncode == 5
1112
assert subprocess.run(["mathics", "-e", "1 + 2'"]).returncode == 0
1213
assert subprocess.run(["mathics", "-e", "Quit[0]"]).returncode == 0

0 commit comments

Comments
 (0)