1818import math
1919import sympy
2020import requests
21- import tempfile
2221
2322
2423from itertools import chain
@@ -1395,28 +1394,6 @@ class BinaryWrite(Builtin):
13951394 = {213, 143, 98, 112, 141, 183, 203, 247}
13961395 #> WRb[{384206740, 1676316040}, Table["UnsignedInteger32", {2}]]
13971396 = {148, 135, 230, 22, 136, 141, 234, 99}
1398-
1399- ## UnsignedInteger64
1400- #> WRb[7079445437368829279, "UnsignedInteger64"]
1401- = {95, 5, 33, 229, 29, 62, 63, 98}
1402- #> WRb[5381171935514265990, "UnsignedInteger64"]
1403- = {134, 9, 161, 91, 93, 195, 173, 74}
1404-
1405- ## UnsignedInteger128
1406- #> WRb[293382001665435747348222619884289871468, "UnsignedInteger128"]
1407- = {108, 78, 217, 150, 88, 126, 152, 101, 231, 134, 176, 140, 118, 81, 183, 220}
1408- #> WRb[253033302833692126095975097811212718901, "UnsignedInteger128"]
1409- = {53, 83, 116, 79, 81, 100, 60, 126, 202, 52, 241, 48, 5, 113, 92, 190}
1410-
1411- ## Full File
1412- >> strm = OpenWrite["/dev/full", BinaryFormat -> True]
1413- = OutputStream[...]
1414- >> BinaryWrite[strm, {39, 4, 122}]
1415- : No space left on device.
1416- = OutputStream[...]
1417- >> Close[strm]
1418- : No space left on device.
1419- = ...
14201397 """
14211398
14221399 messages = {
@@ -1884,13 +1861,6 @@ class WriteString(Builtin):
18841861 | abc
18851862
18861863 #> WriteString[OpenWrite["/dev/zero"], "abc"] (* Null *)
1887-
1888- #> str = OpenWrite["/dev/full"];
1889- #> WriteString[str, "123"]
1890- : No space left on device.
1891- #> Close[str]
1892- : No space left on device.
1893- = /dev/full
18941864 """
18951865
18961866 messages = {
@@ -2175,6 +2145,7 @@ class Put(BinaryOperator):
21752145 ## * a bit fragile, somewhat
21762146 ## * somewhat OS dependent,
21772147 ## * can leave crap in the filesystem
2148+ ## * put in a pytest
21782149 ##
21792150 ## For these reasons this should be done a a pure test
21802151 ## rather than intermingled with the doc system.
@@ -2191,7 +2162,7 @@ class Put(BinaryOperator):
21912162 | 815915283247897734345611269596115894272000000000
21922163 S> Get[filename]
21932164 = 815915283247897734345611269596115894272000000000
2194- # > DeleteFile[filename]
2165+ S > DeleteFile[filename]
21952166
21962167 S> filename = $TemporaryDirectory <> "/fiftyfactorial";
21972168 S> Put[10!, 20!, 30!, filename]
0 commit comments