mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-20 15:08:51 +00:00
Try to fix python encoding test error
This commit is contained in:
+1
-1
@@ -50,7 +50,7 @@ script:
|
|||||||
- /usr/local/bin/IfcConvert -yv acad2010_walls.ifc acad2010_walls.glb
|
- /usr/local/bin/IfcConvert -yv acad2010_walls.ifc acad2010_walls.glb
|
||||||
- gltf_validator acad2010_walls.glb
|
- gltf_validator acad2010_walls.glb
|
||||||
|
|
||||||
- python -c "from __future__ import print_function; import ifcopenshell; f = ifcopenshell.open('encoding.ifc'); print(f[1][0])" | grep "'a' 1m³ ≤ 5m³ ≥ 10m³"
|
- python -c "from __future__ import print_function; from io import open; import ifcopenshell; f = ifcopenshell.open('encoding.ifc'); print(f[1][0], file=open('encoding.txt', 'w', encoding='utf-8'))" && grep encoding.txt "'a' 1m³ ≤ 5m³ ≥ 10m³"
|
||||||
|
|
||||||
- |
|
- |
|
||||||
(for i in *.ifc; do \
|
(for i in *.ifc; do \
|
||||||
|
|||||||
Reference in New Issue
Block a user